Pillow requires tobytes() now
This commit is contained in:
parent
38cfae0b4e
commit
55d50f13f2
|
@ -70,7 +70,7 @@ class Worker(QtCore.QObject):
|
|||
|
||||
# write to out_pipe
|
||||
try:
|
||||
out_pipe.stdin.write(im.tostring())
|
||||
out_pipe.stdin.write(im.tobytes())
|
||||
finally:
|
||||
True
|
||||
|
||||
|
|
Reference in New Issue