mirror of https://github.com/MISP/misp-modules
add logs
parent
d56bf55038
commit
9de201375b
|
@ -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']))
|
||||
|
|
Loading…
Reference in New Issue