From 86a4e7f49544f7715f860db027ad352acc6f5a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 11 May 2015 11:47:15 +0200 Subject: [PATCH] Only treat wait as ack while printing --- 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 b30796ee..73017dec 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -869,7 +869,7 @@ class MachineCom(object): continue ##~~ process oks - if line.strip().startswith("ok") or (supportWait and line.strip().startswith("wait")): + if line.strip().startswith("ok") or (self.isPrinting() and supportWait and line.strip().startswith("wait")): self._clear_to_send.set() self._blocking_command = False