pull/618/head
Usama015 2023-06-20 12:52:24 +05:00
parent 36fb91882a
commit 2a1b8102ab
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ def handle_ip(apiKey, ip, attribute):
try:
misp_event = MISPEvent()
input_attribute = MISPAttribute()
# input_attribute.from_dict(**attribute)
input_attribute.from_dict(**attribute)
misp_event.add_attribute(**input_attribute)
except Exception:
return {'error': f'Error on line 58 - {traceback.print_exc()}'}