fix: Still support simple event dict content

pull/325/head
Raphaël Vinot 2019-01-22 11:10:27 +01:00
parent 4c60ed7e95
commit 362e324389
1 changed files with 2 additions and 0 deletions

View File

@ -598,6 +598,8 @@ class PyMISP(object):
else:
if 'Event' in event:
e = event['Event']
else:
e = event
if 'id' in e:
event_id = e['id']
elif 'uuid' in e: