diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-12-03 22:48:55 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-12-03 22:48:55 +0100 |
commit | b5287ed17bda10877d84ba86fcf148ee74b93b9b (patch) | |
tree | 69552b5cf0ce7b0cd9bd81535d4f68468c801cf0 /rapid/rapid.py | |
parent | 85d4767b9465501fb8829b02dda18689ab2ac284 (diff) |
Imported Upstream version 0.4.11upstream/0.4.11
Diffstat (limited to 'rapid/rapid.py')
-rwxr-xr-x | rapid/rapid.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rapid/rapid.py b/rapid/rapid.py index dd67b63..303e1f7 100755 --- a/rapid/rapid.py +++ b/rapid/rapid.py @@ -352,7 +352,7 @@ class DeviceCollection(gtk.TreeView): def create_cairo_image_surface(pil_image, image_width, image_height): - imgd = pil_image.tostring("raw","BGRA", 0, 1) + imgd = pil_image.tobytes("raw","BGRA", 0, 1) data = array.array('B',imgd) stride = image_width * 4 image = cairo.ImageSurface.create_for_data(data, cairo.FORMAT_ARGB32, |