From 25759904037b3d9055b9dc20c39413a4862f4ea4 Mon Sep 17 00:00:00 2001 From: Dylan Stephano-Shachter Date: Wed, 25 Sep 2019 07:13:50 +0300 Subject: [PATCH] add usd_foil as a mode option to prices --- scrython/cards/cards_object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrython/cards/cards_object.py b/scrython/cards/cards_object.py index ece7a8b..9b518ca 100644 --- a/scrython/cards/cards_object.py +++ b/scrython/cards/cards_object.py @@ -471,7 +471,7 @@ class CardsObject(FoundationObject): Returns: float: The prices as a float """ - modes = ['usd', 'eur', 'tix'] + modes = ['usd', 'usd_foil', 'eur', 'tix'] if mode not in modes: raise KeyError("{} is not a key.".format(mode))