mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-11-01 19:05:56 +01:00
console: Fix handling of bad commands
Don't return early on a command error - continue to process remaining commands and pop commands from the queue. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -188,7 +188,6 @@ class KeyboardReader:
|
|||||||
self.ser.send(msg)
|
self.ser.send(msg)
|
||||||
except msgproto.error as e:
|
except msgproto.error as e:
|
||||||
self.output("Error: %s" % (str(e),))
|
self.output("Error: %s" % (str(e),))
|
||||||
return None
|
|
||||||
self.data = kbdlines[-1]
|
self.data = kbdlines[-1]
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|||||||
Reference in New Issue
Block a user