diff options
| author | rikai | 2016-08-17 14:34:05 -0700 |
|---|---|---|
| committer | GitHub | 2016-08-17 14:34:05 -0700 |
| commit | 55d50f13f27afb2a7d5e03f43eb28570cfa6c2b9 (patch) | |
| tree | be13c388b090a8fd60badc219e6703afc1d92474 | |
| parent | 38cfae0b4e30fdc19612f5873aec09ea69e74486 (diff) | |
Pillow requires tobytes() now
| -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() |
