mirror of https://github.com/MISP/PyMISP
fix: Do not fail when importing the reportlab file
parent
9902a6d79d
commit
1ecdedb53c
|
@ -12,7 +12,7 @@ manual_testing = False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from pymisp.tools import reportlab_generator
|
from pymisp.tools import reportlab_generator
|
||||||
except ImportError:
|
except Exception:
|
||||||
if sys.version_info < (3, 6):
|
if sys.version_info < (3, 6):
|
||||||
print('This test suite requires Python 3.6+, breaking.')
|
print('This test suite requires Python 3.6+, breaking.')
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
Loading…
Reference in New Issue