control return of records

pull/208/head
Sebdraven 2018-07-10 16:35:01 +02:00
parent 495c720d0f
commit 602da3d1a3
1 changed files with 14 additions and 13 deletions

View File

@ -234,6 +234,7 @@ def expand_whois(api, domain):
if results:
status_ok = True
item_registrant = __select_registrant_item(results)
if item_registrant:
types = ['whois-registrant-email', 'whois-registrant-phone',
'whois-registrant-name', 'whois-registrar',
'whois-creation-date']