From 9902a6d79d9b868293649ce26c3233d7a9a2678f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Tue, 12 Mar 2019 16:17:20 +0100 Subject: [PATCH] fix: PDF Export requires python 3.6+. --- pymisp/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pymisp/__init__.py b/pymisp/__init__.py index 6856d7d..f0497a9 100644 --- a/pymisp/__init__.py +++ b/pymisp/__init__.py @@ -43,8 +43,8 @@ try: from .tools import load_warninglists # noqa from .tools import ext_lookups # noqa - if sys.version_info >= (3, 4): - # Let's not bother with python 2 + if sys.version_info >= (3, 6): + # Let's not bother with old python try: from .tools import reportlab_generator # noqa except ImportError: