mirror of https://github.com/MISP/PyMISP
fix: PDF Export requires python 3.6+.
parent
b82d3c25de
commit
9902a6d79d
|
@ -43,8 +43,8 @@ try:
|
||||||
from .tools import load_warninglists # noqa
|
from .tools import load_warninglists # noqa
|
||||||
from .tools import ext_lookups # noqa
|
from .tools import ext_lookups # noqa
|
||||||
|
|
||||||
if sys.version_info >= (3, 4):
|
if sys.version_info >= (3, 6):
|
||||||
# Let's not bother with python 2
|
# Let's not bother with old python
|
||||||
try:
|
try:
|
||||||
from .tools import reportlab_generator # noqa
|
from .tools import reportlab_generator # noqa
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
Loading…
Reference in New Issue