1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

Use more standard __version__ rather than PILLOW_VERSION

This commit is contained in:
Hugo
2018-04-18 11:42:56 +03:00
committed by GitHub
parent 968b083fb2
commit a63a46a741

View File

@@ -145,7 +145,7 @@ def dependencyCheck(level):
except ImportError: except ImportError:
missing.append('python-slugify 1.2.1+') missing.append('python-slugify 1.2.1+')
try: try:
from PIL import PILLOW_VERSION as pillowVersion from PIL import __version__ as pillowVersion
if StrictVersion('4.0.0') > StrictVersion(pillowVersion): if StrictVersion('4.0.0') > StrictVersion(pillowVersion):
missing.append('Pillow 4.0.0+') missing.append('Pillow 4.0.0+')
except ImportError: except ImportError: