change status

pull/208/head
Sebdraven 4 years ago
parent 64e7f9c8b6
commit 45c473aef5
  1. 5
      misp_modules/modules/expansion/dnstrails.py

@ -344,7 +344,7 @@ def expand_history_dns(api, domain):
results = api.history_dns_ns(domain)
if results:
status_ok = True
r.extend(__history_dns(results, domain, 'nameserver', 'ns'))
@ -353,7 +353,6 @@ def expand_history_dns(api, domain):
results = api.history_dns_soa(domain)
if results:
status_ok = True
r.extend(__history_dns(results, domain, 'email', 'soa'))
time.sleep(1)
@ -367,6 +366,8 @@ def expand_history_dns(api, domain):
except APIError as e:
misperrors['error'] = e
status_ok = True
return r, status_ok

Loading…
Cancel
Save