mirror of https://github.com/MISP/PyMISP
fix flatten
parent
268598fe23
commit
3df35826c5
|
@ -159,6 +159,8 @@ class PyMISP(object):
|
|||
messages.append('Error in {}: {}'.format(where, msg))
|
||||
else:
|
||||
for e in errors:
|
||||
if not e:
|
||||
continue
|
||||
if isinstance(e, str):
|
||||
messages.append(e)
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue