change status

pull/208/head
Sebdraven 2018-07-11 11:52:10 +02:00
parent 64e7f9c8b6
commit 45c473aef5
1 changed files with 3 additions and 2 deletions

View File

@ -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