mirror of https://github.com/MISP/PyMISP
fix: Python 2.7 blah foo.
parent
ece54a942b
commit
0d6aa428ef
|
@ -47,6 +47,9 @@ try:
|
|||
# Let's not bother with python 2
|
||||
try:
|
||||
from .tools import reportlab_generator # noqa
|
||||
except ImportError:
|
||||
# FIXME: The import should not raise an exception if reportlab isn't installed
|
||||
pass
|
||||
except NameError:
|
||||
# FIXME: The import should not raise an exception if reportlab isn't installed
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue