mirror of https://github.com/MISP/misp-modules
change method to concat methods
parent
e712a31760
commit
1d1fd36569
|
@ -80,7 +80,7 @@ def handle_ip(api, ip, misperrors):
|
||||||
r, status_ok = expand_datascan(api, misperrors, ip=ip)
|
r, status_ok = expand_datascan(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 datascan result %s' % status_ok
|
misperrors['error'] = 'Error datascan result %s' % status_ok
|
||||||
return misperrors
|
return misperrors
|
||||||
|
|
Loading…
Reference in New Issue