Pillow requires tobytes() now

This commit is contained in:
rikai 2016-08-17 14:34:05 -07:00 committed by GitHub
parent 38cfae0b4e
commit 55d50f13f2
1 changed files with 2 additions and 2 deletions

View File

@ -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
@ -89,4 +89,4 @@ class Worker(QtCore.QObject):
out_pipe.wait()
print("Video file created")
self.progressBarUpdate.emit(100)
self.videoCreated.emit()
self.videoCreated.emit()