forked from Ponysearch/Ponysearch
logging part 2
This commit is contained in:
parent
e8d18b16df
commit
d818780043
1 changed files with 2 additions and 1 deletions
|
@ -38,6 +38,7 @@ def response(resp):
|
|||
|
||||
if 'results' in json_data:
|
||||
for result in json_data['images']:
|
||||
logger.debug("query --> %s", result.get(result['representations']['thumb']))
|
||||
results.append(
|
||||
{
|
||||
'template': 'images.html',
|
||||
|
@ -48,5 +49,5 @@ def response(resp):
|
|||
'content': result.get('description') or '',
|
||||
}
|
||||
)
|
||||
logger.debug(results)
|
||||
|
||||
return results
|
||||
|
|
Loading…
Reference in a new issue