--- install.py.old	2020-06-22 14:49:31.000000000 +0200
+++ install.py	2020-06-22 14:49:46.000000000 +0200
@@ -241,13 +241,13 @@
         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
--- src/comix.py.old	2020-06-22 14:48:45.000000000 +0200
+++ src/comix.py	2020-06-22 14:49:02.000000000 +0200
@@ -50,11 +50,11 @@
 
 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:
