diff --git a/klippy/console.py b/klippy/console.py index a9200149..adbc77be 100755 --- a/klippy/console.py +++ b/klippy/console.py @@ -187,7 +187,7 @@ class KeyboardReader: return None return line def process_kbd(self, eventtime): - self.data += os.read(self.fd, 4096) + self.data += os.read(self.fd, 4096).decode() kbdlines = self.data.split('\n') for line in kbdlines[:-1]: