mirror of https://github.com/MISP/PyMISP
fix: Still support simple event dict content
parent
4c60ed7e95
commit
362e324389
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue