pull/208/head
Sebdraven 2018-07-12 14:37:09 +02:00
parent d56bf55038
commit 9de201375b
1 changed files with 3 additions and 1 deletions

View File

@ -501,11 +501,13 @@ def version():
def __select_registrant_item(entry):
print(entry)
if 'contacts' in entry:
return list(filter(lambda x: x['type'] == 'registrant',
entry['contacts']))
if 'contact' in entry:
print(entry)
print('\r\n')
return list(filter(lambda x: x['type'] == 'registrant',
entry['contact']))