diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-10-01 19:10:11 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-10-01 19:18:58 -0400 |
commit | fa25986adcce7d941c27dc9cc11e5ee7c5e96d0b (patch) | |
tree | c2576af52e2f8e732983d9ac91af7ac13acb88ee | |
parent | 0fc52f94961110003700ac3de1026a37aff8a91e (diff) | |
download | kutter-fa25986adcce7d941c27dc9cc11e5ee7c5e96d0b.tar.gz kutter-fa25986adcce7d941c27dc9cc11e5ee7c5e96d0b.tar.xz kutter-fa25986adcce7d941c27dc9cc11e5ee7c5e96d0b.zip |
reactor: Convert to Python3 string encoding
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | klippy/reactor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/reactor.py b/klippy/reactor.py index 7e41176e..dd083a07 100644 --- a/klippy/reactor.py +++ b/klippy/reactor.py @@ -171,13 +171,13 @@ class SelectReactor: self._async_queue.put_nowait( (ReactorCallback, (self, callback, waketime))) try: - os.write(self._pipe_fds[1], '.') + os.write(self._pipe_fds[1], b'.') except os.error: pass def async_complete(self, completion, result): self._async_queue.put_nowait((completion.complete, (result,))) try: - os.write(self._pipe_fds[1], '.') + os.write(self._pipe_fds[1], b'.') except os.error: pass def _got_pipe_signal(self, eventtime): |