Blob Blame History Raw
--- comix-4.0.4/install.py.version	2019-07-30 13:45:43.853075929 +0900
+++ comix-4.0.4/install.py	2019-07-30 13:51:09.093809043 +0900
@@ -241,13 +241,13 @@ def check_dependencies():
         required_found = False
     try:
         from PIL import Image
-        assert Image.VERSION >= '1.1.5'
+        assert Image.__version__ >= '1.1.5'
         print '    Python Imaging Library ....... OK'
     except ImportError:
         print '    !!! Python Imaging Library ... Not found'
         required_found = False
     except AssertionError:
-        print '    !!! Python Imaging Library ... version', Image.VERSION,
+        print '    !!! Python Imaging Library ... version', Image.__version__,
         print 'found'
         print '    !!! Python Imaging Library 1.1.5 or higher is required'
         required_found = False
--- comix-4.0.4/src/comix.py.version	2019-07-30 13:45:43.853075929 +0900
+++ comix-4.0.4/src/comix.py	2019-07-30 13:51:16.054880611 +0900
@@ -50,11 +50,11 @@ except ImportError:
 
 try:
     from PIL import Image
-    assert Image.VERSION >= '1.1.5'
+    assert Image.__version__ >= '1.1.5'
 except AssertionError:
     print "You don't have the required version of the Python Imaging",
     print 'Library (PIL) installed.'
-    print 'Installed PIL version is: %s' % Image.VERSION
+    print 'Installed PIL version is: %s' % Image.__version__
     print 'Required PIL version is: 1.1.5 or higher'
     sys.exit(1)
 except ImportError: