Merge lp:~eckhofer/qreator/qreator into lp:qreator

Proposed by Felix Eckhofer
Status: Merged
Merged at revision: 190
Proposed branch: lp:~eckhofer/qreator/qreator
Merge into: lp:qreator
Diff against target: 11 lines (+1/-1)
1 file modified
qreator/QRCode.py (+1/-1)
To merge this branch: bzr merge lp:~eckhofer/qreator/qreator
Reviewer Review Type Date Requested Status
David Planella Pending
Review via email: mp+297065@code.launchpad.net

Description of the change

Use frombytes instead of fromstring, fixes https://bugs.launchpad.net/qreator/+bug/1573577

To post a comment you must log in.
Revision history for this message
David Planella (dpm) wrote :

Merged, thanks so much Felix!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'qreator/QRCode.py'
2--- qreator/QRCode.py 2013-05-08 18:21:38 +0000
3+++ qreator/QRCode.py 2016-06-10 14:05:21 +0000
4@@ -73,7 +73,7 @@
5 # Notice the conversion to BGRA that Cairo expects
6 # See http://cairographics.org/pythoncairopil/ and
7 # http://mail.gnome.org/archives/gtkmm-list/2007-May/msg00111.html
8- bytearr = array.array('B', self.image.tostring("raw", "BGRA", 0, 1))
9+ bytearr = array.array('B', self.image.tobytes("raw", "BGRA", 0, 1))
10 height, width = self.image.size
11 #print self.image.size
12

Subscribers

People subscribed via source and target branches