Updated search to return values properly
This commit is contained in:
parent
f57992a9e3
commit
3847cb3723
|
@ -120,6 +120,8 @@ class Search(FoundationObject):
|
|||
super(Search, self)._checkForTupleKey('data', index, key)
|
||||
return self.scryfallJson['data'][index][key]
|
||||
|
||||
return self.scryfallJson['data'][index]
|
||||
|
||||
return self.scryfallJson['data']
|
||||
|
||||
def next_page(self):
|
||||
|
|
Loading…
Reference in New Issue