summarylogtreecommitdiffstats
path: root/image_pil.patch
diff options
context:
space:
mode:
Diffstat (limited to 'image_pil.patch')
-rw-r--r--image_pil.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/image_pil.patch b/image_pil.patch
new file mode 100644
index 000000000000..0caeaf53b228
--- /dev/null
+++ b/image_pil.patch
@@ -0,0 +1,24 @@
+diff -aur src.orig/happycamel-v1-beta3/build/lib/HappyCamel/photohandler.py src/happycamel-v1-beta3/build/lib/HappyCamel/photohandler.py
+--- src.orig/happycamel-v1-beta3/build/lib/HappyCamel/photohandler.py 2021-05-12 23:27:36.545733597 +0200
++++ src/happycamel-v1-beta3/build/lib/HappyCamel/photohandler.py 2021-05-12 23:28:14.535765520 +0200
+@@ -47,7 +47,7 @@
+
+ # Try to import the Pyton Imaging Library
+ try:
+- import Image
++ from PIL import Image
+ except ImportError:
+ CAN_RESIZE_PHOTOS = False
+ else:
+diff -aur src.orig/happycamel-v1-beta3/HappyCamel/photohandler.py src/happycamel-v1-beta3/HappyCamel/photohandler.py
+--- src.orig/happycamel-v1-beta3/HappyCamel/photohandler.py 2021-05-12 23:27:36.545733597 +0200
++++ src/happycamel-v1-beta3/HappyCamel/photohandler.py 2021-05-12 23:27:48.889077237 +0200
+@@ -47,7 +47,7 @@
+
+ # Try to import the Pyton Imaging Library
+ try:
+- import Image
++ from PIL import Image
+ except ImportError:
+ CAN_RESIZE_PHOTOS = False
+ else: