pull/208/head
Sebdraven 4 years ago
parent 3eda712193
commit 7f52a15d16
  1. 6
      misp_modules/modules/expansion/securitytrails.py

@ -509,9 +509,9 @@ def version():
def __select_registrant_item(entry):
if 'contacts' in entry:
return list(filter(lambda x: x['type'] == 'registrant',
entry['contacts']))
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…
Cancel
Save