From 47382d01c0d107082fff2af938ade838c0b66c23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 21 Jan 2021 11:55:30 +0100 Subject: [PATCH] fix: Better warning if lief is outdated. --- pymisp/tools/create_misp_object.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pymisp/tools/create_misp_object.py b/pymisp/tools/create_misp_object.py index b4d36ce..d3204ca 100644 --- a/pymisp/tools/create_misp_object.py +++ b/pymisp/tools/create_misp_object.py @@ -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):