From 822f757f9dfd180217d8ac6415aa4f1adb8a1d70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 29 Mar 2018 14:23:17 +0200 Subject: [PATCH] Ignore wait if job is on hold See #2524 --- src/octoprint/util/comm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index b85ed72f1..a82ad6950 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -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()