diff --git a/pymisp/api.py b/pymisp/api.py index df71194..c95c014 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -488,7 +488,7 @@ class PyMISP(object): if not event_id: raise PyMISPError("Unable to find the ID of the event to update.") if not attributes: - return {'error': 'No attributes.'} + return [{'error': 'No attributes.'}] # Propals need to be posted in single requests if proposal: