aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/console.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-05-08 11:18:07 -0400
committerKevin O'Connor <kevin@koconnor.net>2018-05-08 11:31:25 -0400
commit2e3fa8da13b6712dcebebde5e7f445bb3dc5d33a (patch)
treefd4ff7d2255b10105ae994f6919ef3202fb205da /klippy/console.py
parentf70fefa06f9fe1aaca8c6303f0ee9e904a6f3623 (diff)
downloadkutter-2e3fa8da13b6712dcebebde5e7f445bb3dc5d33a.tar.gz
kutter-2e3fa8da13b6712dcebebde5e7f445bb3dc5d33a.tar.xz
kutter-2e3fa8da13b6712dcebebde5e7f445bb3dc5d33a.zip
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>
Diffstat (limited to 'klippy/console.py')
-rwxr-xr-xklippy/console.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/klippy/console.py b/klippy/console.py
index b3932120..59dffc59 100755
--- a/klippy/console.py
+++ b/klippy/console.py
@@ -188,7 +188,6 @@ class KeyboardReader:
self.ser.send(msg)
except msgproto.error as e:
self.output("Error: %s" % (str(e),))
- return None
self.data = kbdlines[-1]
def main():