From 53253bf00f3df4870cd7f44dfd962b6df7342dbf Mon Sep 17 00:00:00 2001 From: Aaron Jencks <32805004+iggy12345@users.noreply.github.com> Date: Sun, 27 Dec 2020 18:56:20 -0600 Subject: [PATCH] Update cards_object.py Added modal_dfc layout type to the layout dict --- scrython/cards/cards_object.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scrython/cards/cards_object.py b/scrython/cards/cards_object.py index d89b8c3..537be94 100644 --- a/scrython/cards/cards_object.py +++ b/scrython/cards/cards_object.py @@ -175,7 +175,8 @@ class CardsObject(FoundationObject): 'emblem': lambda num: self.scryfallJson['image_uris'], 'augment': 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 = { @@ -747,4 +748,4 @@ class CardsObject(FoundationObject): if key in self.scryfallJson['preview']: return self.scryfallJson['preview'][key] - return self.scryfallJson['preview'] \ No newline at end of file + return self.scryfallJson['preview']