Ignore wait if job is on hold

See #2524
This commit is contained in:
Gina Häußge committed 2018-03-29 14:23:17 +02:00
1 parent b04aff7d5e
commit 822f757f9d
1 file changed
+1 -1
+1 -1
View File
@@ -1543,7 +1543,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()