Commit 9162e261 authored by Samuel Debionne's avatar Samuel Debionne
Browse files

Fixup tostring() deprecation warning

parent b8ab5f63
......@@ -98,7 +98,7 @@ class CheckControl:
image = self.ct_control.ReadImage(last_img_ready)
time.sleep(self.sleep_time)
deb.Always('Forcing read frame %d memory' % last_img_ready)
data = b' ' + image.buffer.tostring()
data = b' ' + image.buffer.tobytes()
class CheckControlAutoSync:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment