From d393a6730ca5c6a494da59b9f0dfdab240be5a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 10 Mar 2016 16:03:52 +0100 Subject: [PATCH] Don't have M28 response generate extra "ok" Fixes #1272 --- src/octoprint/util/comm.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 0da78fbe..27541b20 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -1072,8 +1072,6 @@ class MachineCom(object): }) elif 'Writing to file' in line and self.isStreaming(): self._changeState(self.STATE_PRINTING) - self._clear_to_send.set() - line, lower_line = convert_line("ok") elif 'Done printing file' in line and self.isSdPrinting(): # printer is reporting file finished printing self._sdFilePos = 0