Fixed a minor bug when creating a new card object.
This commit is contained in:
parent
3cb18962d0
commit
901d647b49
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue