summarylogtreecommitdiffstats
path: root/02-use-frombytes.patch
diff options
context:
space:
mode:
Diffstat (limited to '02-use-frombytes.patch')
-rw-r--r--02-use-frombytes.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/02-use-frombytes.patch b/02-use-frombytes.patch
new file mode 100644
index 00000000000..4bd9b5c1383
--- /dev/null
+++ b/02-use-frombytes.patch
@@ -0,0 +1,12 @@
+diff -u -r a/macrofusion.py b/macrofusion.py
+--- a/macrofusion.py 2015-10-25 12:58:58.621978780 +0100
++++ b/macrofusion.py 2015-10-25 12:59:55.896423282 +0100
+@@ -623,7 +623,7 @@
+
+ def pixbuf2Image(self, pb):
+ width,height = pb.get_width(),pb.get_height()
+- return Image.fromstring("RGB",(width,height),pb.get_pixels() )
++ return Image.frombytes("RGB",(width,height),pb.get_pixels() )
+
+ def put_files_to_the_list(self, fichiers):
+