Blob Blame History Raw
diff -urp mcomix-1.2.1.old/mcomix/image_tools.py mcomix-1.2.1/mcomix/image_tools.py
--- mcomix-1.2.1.old/mcomix/image_tools.py	2016-02-13 03:51:58.000000000 +0900
+++ mcomix-1.2.1/mcomix/image_tools.py	2019-09-08 22:39:14.201047442 +0900
@@ -14,7 +14,7 @@ try:
     from PIL import PILLOW_VERSION
     PIL_VERSION = ('Pillow', PILLOW_VERSION)
 except ImportError:
-    from PIL import VERSION as PIL_VERSION
+    from PIL import __version__ as PIL_VERSION
     PIL_VERSION = ('PIL', PIL_VERSION)
 from cStringIO import StringIO
 
mcomix-1.2.1/mcomix ?????: image_tools.py~
diff -urp mcomix-1.2.1.old/mcomix/run.py mcomix-1.2.1/mcomix/run.py
--- mcomix-1.2.1.old/mcomix/run.py	2016-02-13 03:52:12.000000000 +0900
+++ mcomix-1.2.1/mcomix/run.py	2019-09-08 22:41:35.700868400 +0900
@@ -203,12 +203,12 @@ def run():
 
     try:
         import PIL.Image
-        assert PIL.Image.VERSION >= '1.1.5'
+        assert PIL.Image.__version__ >= '1.1.5'
 
     except AssertionError:
         log.error( _("You don't have the required version of the Python Imaging"), end=' ')
         log.error( _('Library (PIL) installed.') )
-        log.error( _('Installed PIL version is: %s') % Image.VERSION )
+        log.error( _('Installed PIL version is: %s') % PIL.Image.__version__ )
         log.error( _('Required PIL version is: 1.1.5 or higher') )
         wait_and_exit()
 
mcomix-1.2.1/mcomix ?????: run.py~