hplip/hplip-pillow-version.patch
2019-10-01 16:05:06 +02:00

14 lines
348 B
Diff

diff --git a/installer/dcheck.py b/installer/dcheck.py
index 38bb76c..3d0624e 100644
--- a/installer/dcheck.py
+++ b/installer/dcheck.py
@@ -370,7 +370,7 @@ def get_pil_version():
except ImportError:
return '-'
else:
- return Image.VERSION
+ return Image.PILLOW_VERSION
def get_libpthread_version():
try: