pull/208/head
Sebdraven 2018-07-12 14:59:50 +02:00
parent 3eda712193
commit 7f52a15d16
1 changed files with 3 additions and 3 deletions

View File

@ -509,9 +509,9 @@ def version():
def __select_registrant_item(entry):
if 'contacts' in entry:
return list(filter(lambda x: x['type'] == 'registrant',
res = list(filter(lambda x: x['type'] == 'registrant',
entry['contacts']))
print(res)
if 'contact' in entry:
res = list(filter(lambda x: x['type'] == 'registrant',
entry['contact']))