fix: PDF Export requires python 3.6+.

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

View File

@ -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: