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):
|
def __select_registrant_item(entry):
|
||||||
|
|
||||||
if 'contacts' in entry:
|
if 'contacts' in entry:
|
||||||
return list(filter(lambda x: x['type'] == 'registrant',
|
res = list(filter(lambda x: x['type'] == 'registrant',
|
||||||
entry['contacts']))
|
entry['contacts']))
|
||||||
|
print(res)
|
||||||
if 'contact' in entry:
|
if 'contact' in entry:
|
||||||
res = list(filter(lambda x: x['type'] == 'registrant',
|
res = list(filter(lambda x: x['type'] == 'registrant',
|
||||||
entry['contact']))
|
entry['contact']))
|
||||||
|
|
Loading…
Reference in New Issue