aboutsummaryrefslogtreecommitdiff
path: root/video_thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'video_thread.py')
-rw-r--r--video_thread.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/video_thread.py b/video_thread.py
index 5a8120b..ed2af84 100644
--- a/video_thread.py
+++ b/video_thread.py
@@ -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() \ No newline at end of file
+ self.videoCreated.emit()