Update cards_object.py
Added modal_dfc layout type to the layout dict
This commit is contained in:
parent
2c09d66742
commit
53253bf00f
|
@ -175,7 +175,8 @@ class CardsObject(FoundationObject):
|
||||||
'emblem': lambda num: self.scryfallJson['image_uris'],
|
'emblem': lambda num: self.scryfallJson['image_uris'],
|
||||||
'augment': lambda num: self.scryfallJson['image_uris'],
|
'augment': lambda num: self.scryfallJson['image_uris'],
|
||||||
'host': lambda num: self.scryfallJson['image_uris'],
|
'host': lambda num: self.scryfallJson['image_uris'],
|
||||||
'adventure': lambda num: self.scryfallJson['image_uris']
|
'adventure': lambda num: self.scryfallJson['image_uris'],
|
||||||
|
'modal_dfc': lambda num: self.scryfallJson['card_faces'][num]['image_uris']
|
||||||
}
|
}
|
||||||
|
|
||||||
image_types = {
|
image_types = {
|
||||||
|
@ -747,4 +748,4 @@ class CardsObject(FoundationObject):
|
||||||
if key in self.scryfallJson['preview']:
|
if key in self.scryfallJson['preview']:
|
||||||
return self.scryfallJson['preview'][key]
|
return self.scryfallJson['preview'][key]
|
||||||
|
|
||||||
return self.scryfallJson['preview']
|
return self.scryfallJson['preview']
|
||||||
|
|
Loading…
Reference in New Issue