Merge pull request #1217 from dor2727/patch-tobytes

fixed deprecation warning: tostring -> tobytes
This commit is contained in:
鹤翔万里 2020-09-30 22:28:28 +08:00 committed by GitHub
commit e336cf5ddc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -333,7 +333,7 @@ class SceneFileWriter(object):
Pixel array of the frame.
"""
if self.write_to_movie:
self.writing_process.stdin.write(frame.tostring())
self.writing_process.stdin.write(frame.tobytes())
def save_final_image(self, image):
"""