mirror of https://github.com/MISP/PyMISP
Remove ImportError
parent
8e50ee825b
commit
9ff3739753
|
@ -44,8 +44,6 @@ def make_macho_objects(lief_parsed, misp_file):
|
|||
|
||||
|
||||
def make_binary_objects(filepath):
|
||||
if not HAS_LIEF:
|
||||
raise ImportError('Please install lief, documentation here: https://github.com/lief-project/LIEF')
|
||||
misp_file = FileObject(filepath)
|
||||
try:
|
||||
lief_parsed = lief.parse(filepath)
|
||||
|
|
Loading…
Reference in New Issue