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:
Kevin O'Connor 2018-05-08 11:18:07 -04:00
parent f70fefa06f
commit 2e3fa8da13
1 changed files with 0 additions and 1 deletions

View File

@ -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():