mirror of https://github.com/Desuuuu/klipper.git
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:
parent
f70fefa06f
commit
2e3fa8da13
|
@ -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():
|
||||||
|
|
Loading…
Reference in New Issue