1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-10-31 22:06:12 +00:00
This commit is contained in:
patricksurry 2023-11-18 17:07:22 -08:00 committed by GitHub
commit 90ee2c8bee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,6 +156,7 @@ class Monitor(cmd.Cmd):
self._output(usage)
def onecmd(self, line):
if line:
line = self._preprocess_line(line)
result = None
@ -167,7 +168,7 @@ class Monitor(cmd.Cmd):
error = ''.join(traceback.format_exception(e))
self._output(error)
if not line.startswith("quit"):
if line and not line.startswith("quit"):
self._output_mpu_status()
# Switch back to the previous input mode.