This commit is contained in:
pau sch 2022-07-15 08:49:04 +02:00 committed by Fauli1221
parent 76d28224b9
commit ff6e2ce51b

View file

@ -36,7 +36,7 @@ def response(resp):
results = [] results = []
json_data = loads(resp.text) json_data = loads(resp.text)
if 'results' in json_data: if 'images' in json_data:
for result in json_data['images']: for result in json_data['images']:
logger.debug("query --> %s", result.get(result['representations']['thumb'])) logger.debug("query --> %s", result.get(result['representations']['thumb']))
results.append( results.append(