fix: Do not fail when importing the reportlab file

pull/370/head
Raphaël Vinot 2019-03-12 16:22:36 +01:00
parent 9902a6d79d
commit 1ecdedb53c
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ manual_testing = False
try:
from pymisp.tools import reportlab_generator
except ImportError:
except Exception:
if sys.version_info < (3, 6):
print('This test suite requires Python 3.6+, breaking.')
sys.exit(0)