forked from Ponysearch/Ponysearch
found it
This commit is contained in:
parent
76d28224b9
commit
ff6e2ce51b
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ def response(resp):
|
|||
results = []
|
||||
json_data = loads(resp.text)
|
||||
|
||||
if 'results' in json_data:
|
||||
if 'images' in json_data:
|
||||
for result in json_data['images']:
|
||||
logger.debug("query --> %s", result.get(result['representations']['thumb']))
|
||||
results.append(
|
||||
|
|
Loading…
Reference in a new issue