Only treat wait as ack while printing

This commit is contained in:
Gina Häußge 2015-05-11 11:47:15 +02:00
parent 9568806219
commit 86a4e7f495

View file

@ -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