pull/208/head
Sebdraven 2018-07-10 14:56:20 +02:00
parent 34da5cdb76
commit 2a8fb76e84
1 changed files with 4 additions and 0 deletions

View File

@ -236,6 +236,9 @@ def expand_whois(api, domain):
}
)
# TODO File "modules/expansion/dnstrails.py", line 230, in expand_whois
# 'values': [item_registrant['email'],
# TypeError: 'NoneType' object is not subscriptable
except APIError as e:
misperrors['error'] = e
@ -254,5 +257,6 @@ def version():
def __select_registrant_item(entry):
if 'contacts' in entry:
for c in entry['contacts']:
print(c)
if c['type'] == 'registrant':
return entry