mirror of https://github.com/MISP/misp-modules
set status after requests
parent
a9b7a10c41
commit
e712a31760
|
@ -170,7 +170,7 @@ def expand_datascan(api, misperror,**kwargs):
|
||||||
|
|
||||||
|
|
||||||
if results['status'] == 'ok':
|
if results['status'] == 'ok':
|
||||||
status_ok = False
|
status_ok = True
|
||||||
for elem in results['results']:
|
for elem in results['results']:
|
||||||
asn_list.append(elem['asn'])
|
asn_list.append(elem['asn'])
|
||||||
geoloc.append(elem['location'])
|
geoloc.append(elem['location'])
|
||||||
|
|
Loading…
Reference in New Issue