Rulings are now able to import as designed.

This commit is contained in:
Nanda Scott 2018-01-30 20:47:31 -05:00
parent 1a41ec72d5
commit 3c5071d813
6 changed files with 17 additions and 5 deletions

View File

@ -1,7 +1,14 @@
#Import classes from cards
from scrython.cards import Autocomplete from scrython.cards import Autocomplete
from scrython.cards import Collector from scrython.cards import Collector
from scrython.cards import Id from scrython.cards import Id
from scrython.cards import Mtgo from scrython.cards import Mtgo
from scrython.cards import Multiverse from scrython.cards import Multiverse
from scrython.cards import Named from scrython.cards import Named
from scrython.cards import RandomCard from scrython.cards import Random
#Import classes from rulings
from scrython.rulings import Mtgo
from scrython.rulings import Multiverse
from scrython.rulings import Id
from scrython.rulings import Code

5
rulings/__init__.py Normal file
View File

@ -0,0 +1,5 @@
from .mtgo import Mtgo
from .multiverse_id import Multiverse
from .rulings_object import RulingsObject
from .scryfall_id import Id
from .set_code import Code

View File

@ -1,4 +1,4 @@
from rulings_object import RulingsObject from .rulings_object import RulingsObject
class Mtgo(RulingsObject): class Mtgo(RulingsObject):
"""docstring for Mtgo.""" """docstring for Mtgo."""

View File

@ -1,4 +1,4 @@
from rulings_object import RulingsObject from .rulings_object import RulingsObject
class Multiverse(RulingsObject): class Multiverse(RulingsObject):
"""docstring for Multiverse.""" """docstring for Multiverse."""

View File

@ -1,4 +1,4 @@
from rulings_object import RulingsObject from .rulings_object import RulingsObject
class Id(RulingsObject): class Id(RulingsObject):
"""docstring for Id.""" """docstring for Id."""

View File

@ -1,4 +1,4 @@
from rulings_object import RulingsObject from .rulings_object import RulingsObject
class Code(RulingsObject): class Code(RulingsObject):
"""docstring for Code.""" """docstring for Code."""