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