Updated search to return values properly

This commit is contained in:
Nanda Scott 2018-10-29 17:19:05 -04:00
parent f57992a9e3
commit 3847cb3723
1 changed files with 2 additions and 0 deletions

View File

@ -120,6 +120,8 @@ class Search(FoundationObject):
super(Search, self)._checkForTupleKey('data', index, key) super(Search, self)._checkForTupleKey('data', index, key)
return self.scryfallJson['data'][index][key] return self.scryfallJson['data'][index][key]
return self.scryfallJson['data'][index]
return self.scryfallJson['data'] return self.scryfallJson['data']
def next_page(self): def next_page(self):