mirror of https://github.com/MISP/misp-modules
change add in results
parent
e8aefde2ee
commit
7a3c4b1084
|
@ -70,7 +70,7 @@ def handle_ip(api, ip, misperrors):
|
||||||
r,status_ok = expand_pastries(api,misperrors,ip=ip)
|
r,status_ok = expand_pastries(api,misperrors,ip=ip)
|
||||||
|
|
||||||
if status_ok:
|
if status_ok:
|
||||||
result_filtered['results'].append(r)
|
result_filtered['results'].extend(r)
|
||||||
else:
|
else:
|
||||||
misperrors['error'] = 'Error pastries result'
|
misperrors['error'] = 'Error pastries result'
|
||||||
return misperrors
|
return misperrors
|
||||||
|
|
Loading…
Reference in New Issue