fix: Better warning if lief is outdated.

pull/700/head
Raphaël Vinot 2021-01-21 11:55:30 +01:00
parent 1284ce1b9c
commit 47382d01c0
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ except AttributeError:
except ImportError:
HAS_LIEF = False
logger.critical('You need lief >= 0.11.0. The quick and dirty fix is: pip3 install --force pymisp[fileobjects]')
class FileTypeNotImplemented(MISPObjectException):