From 136283bd144530f53e96604957d11d8d1b5fe1da Mon Sep 17 00:00:00 2001 From: D4SK <42315676+D4SK@users.noreply.github.com> Date: Wed, 15 Mar 2023 01:53:50 +0100 Subject: [PATCH] reactor: Fix typo Signed-off-by: Konstantin Vogel --- klippy/reactor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/klippy/reactor.py b/klippy/reactor.py index 5b1ec569..e2b0bb5f 100644 --- a/klippy/reactor.py +++ b/klippy/reactor.py @@ -248,12 +248,12 @@ class SelectReactor: if file_handler in self._write_fds: self._write_fds.pop(self._write_fds.index(file_handler)) def set_fd_wake(self, file_handler, is_readable=True, is_writeable=False): - if file_hander in self._read_fds: + if file_handler in self._read_fds: if not is_readable: self._read_fds.pop(self._read_fds.index(file_handler)) elif is_readable: self._read_fds.append(file_handler) - if file_hander in self._write_fds: + if file_handler in self._write_fds: if not is_writeable: self._write_fds.pop(self._write_fds.index(file_handler)) elif is_writeable: