summaryrefslogtreecommitdiff
path: root/libre/mcomix/486f02.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/mcomix/486f02.patch')
-rw-r--r--libre/mcomix/486f02.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/libre/mcomix/486f02.patch b/libre/mcomix/486f02.patch
new file mode 100644
index 000000000..055884047
--- /dev/null
+++ b/libre/mcomix/486f02.patch
@@ -0,0 +1,15 @@
+--- a/mcomix/run.py
++++ b/mcomix/run.py
+@@ -203,7 +203,11 @@
+
+ try:
+ import PIL.Image
+- assert PIL.Image.VERSION >= '1.1.5'
++ try:
++ assert PIL.Image.VERSION >= '1.1.5'
++ except AttributeError:
++ # Field VERSION deprecated in Pillow 5.2.0 and dropped in 6.0.0
++ assert PIL.__version__ >= '5.2.0'
+
+ except AssertionError:
+ log.error( _("You don't have the required version of the Python Imaging"), end=' ')