mirror of https://github.com/Desuuuu/klipper.git
reactor: Convert to Python3 string encoding
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
0fc52f9496
commit
fa25986adc
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue