diff options
| author | martin | 2016-09-07 20:48:35 +0200 |
|---|---|---|
| committer | GitHub | 2016-09-07 20:48:35 +0200 |
| commit | 0b7ddf898cbe413789741e8e289a96f20a4fb49b (patch) | |
| tree | e142d922a1ddbfde5c106659fc145d45cf39a0db /video_thread.py | |
| parent | 38cfae0b4e30fdc19612f5873aec09ea69e74486 (diff) | |
| parent | 2bd9557173e10d9d68e1cba9d78518e38bce4787 (diff) | |
Merge pull request #2 from rikai/master
Updates to work with modern libraries
Diffstat (limited to 'video_thread.py')
| -rw-r--r-- | video_thread.py | 4 |
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() |
