chg: [MISP export] remove pythonify

This commit is contained in:
Terrtia 2020-02-21 15:01:39 +01:00
parent cae4086208
commit 66dd0dec0b
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -381,7 +381,7 @@ def create_misp_event(event, distribution=0, threat_level_id=4, publish=False, a
# # TODO: handle multiple MISP instance
misp = PyMISP(misp_url, misp_key, misp_verifycert)
#print(event.to_json())
misp_event = misp.add_event(event, pythonify=True)
misp_event = misp.add_event(event)
# # TODO: handle error
event_metadata = extract_event_metadata(misp_event)
return event_metadata