Merge branch 'staging/maintenance' into maintenance
This commit is contained in:
commit
2152c401bf
5 files changed
+20
-20
No files matched your search
@@ -1545,7 +1545,7 @@ class MachineCom(object):
|
||||
handled = False
|
||||
|
||||
# process oks
|
||||
if line.startswith("ok") or (self.isPrinting() and supportWait and line == "wait"):
|
||||
if line.startswith("ok") or (self.isPrinting() and not self.job_on_hold and supportWait and line == "wait"):
|
||||
# ok only considered handled if it's alone on the line, might be
|
||||
# a response to an M105 or an M114
|
||||
self._handle_ok()
|
||||
@@ -2930,7 +2930,9 @@ class MachineCom(object):
|
||||
modified = True
|
||||
else:
|
||||
new_results.append((command, command_type, gcode, subcode, tags))
|
||||
modified = True
|
||||
else:
|
||||
new_results.append((command, command_type, gcode, subcode, tags))
|
||||
|
||||
if modified:
|
||||
if not new_results:
|
||||
# gcode handler returned None or empty list for all commands, so we'll stop here and return a full out empty result
|
||||
|
||||
Reference in new issue
Block a user