change add in results

pull/197/head
Sebdraven 2018-06-20 12:38:41 +02:00
parent e8aefde2ee
commit 7a3c4b1084
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ def handle_ip(api, ip, misperrors):
r,status_ok = expand_pastries(api,misperrors,ip=ip)
if status_ok:
result_filtered['results'].append(r)
result_filtered['results'].extend(r)
else:
misperrors['error'] = 'Error pastries result'
return misperrors