From 901d647b49c7dc7a448600585d391eebfcc8769d Mon Sep 17 00:00:00 2001 From: Nanda Scott Date: Tue, 9 Jan 2018 21:04:26 -0500 Subject: [PATCH] Fixed a minor bug when creating a new card object. --- objects/card_by_name.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/objects/card_by_name.py b/objects/card_by_name.py index d6912d0..527f669 100644 --- a/objects/card_by_name.py +++ b/objects/card_by_name.py @@ -33,7 +33,7 @@ class CardByName(object): rulings_uri: str The API uri for the rulings of the card. prints_search_uri: str TODO: Figure out what this does. collector_number: str The collector number of the card. - + """ @@ -49,7 +49,6 @@ class CardByName(object): self.scryfallJson = loop.run_until_complete(getRequest(url='https://api.scryfall.com/cards/named?', params={'fuzzy':self.cardname})) self.session.close() - loop.close() def object(self): return self.scryfallJson['object']