about summary refs log tree commit diff
path: root/kindlecomicconverter/shared.py
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2018-04-18 11:42:56 +0300
committerGitHub <noreply@github.com>2018-04-18 11:42:56 +0300
commita63a46a7415cf0e756dde2ed4ec3d676f89cf31e (patch)
tree832fb120f1ec4045b4637553e88f9ab0fb4b0d7c /kindlecomicconverter/shared.py
parentUpdated build enviroment (diff)
downloadkcc-a63a46a7415cf0e756dde2ed4ec3d676f89cf31e.tar.gz
kcc-a63a46a7415cf0e756dde2ed4ec3d676f89cf31e.tar.bz2
kcc-a63a46a7415cf0e756dde2ed4ec3d676f89cf31e.zip
Use more standard __version__ rather than PILLOW_VERSION
Diffstat (limited to 'kindlecomicconverter/shared.py')
-rw-r--r--kindlecomicconverter/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kindlecomicconverter/shared.py b/kindlecomicconverter/shared.py
index 56f07d6..39c3613 100644
--- a/kindlecomicconverter/shared.py
+++ b/kindlecomicconverter/shared.py
@@ -145,7 +145,7 @@ def dependencyCheck(level):
         except ImportError:
             missing.append('python-slugify 1.2.1+')
     try:
-        from PIL import PILLOW_VERSION as pillowVersion
+        from PIL import __version__ as pillowVersion
         if StrictVersion('4.0.0') > StrictVersion(pillowVersion):
             missing.append('Pillow 4.0.0+')
     except ImportError: