aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-10-01 19:10:11 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-10-01 19:18:58 -0400
commitfa25986adcce7d941c27dc9cc11e5ee7c5e96d0b (patch)
treec2576af52e2f8e732983d9ac91af7ac13acb88ee
parent0fc52f94961110003700ac3de1026a37aff8a91e (diff)
downloadkutter-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.py4
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):