mirror of https://github.com/MISP/PyMISP
chg: Return empty list instead of None
In all cases but one, the 3rd returned object is a (potentially empty) list.pull/434/head
parent
783b84899d
commit
a2aa5646df
|
@ -90,4 +90,4 @@ def make_binary_objects(filepath=None, pseudofile=None, filename=None, standalon
|
|||
logger.warning(e)
|
||||
if not HAS_LIEF:
|
||||
logger.warning('Please install lief, documentation here: https://github.com/lief-project/LIEF')
|
||||
return misp_file, None, None
|
||||
return misp_file, None, []
|
||||
|
|
Loading…
Reference in New Issue