From bfcd00e466824cd56dd7ae9123196214edde0221 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 14 Jul 2016 19:42:43 +0200 Subject: [PATCH] Fix: Send non-protocol messages from the printer to clients Solves #1385 --- src/octoprint/util/comm.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 5cf8283a..269ec8cb 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -1171,13 +1171,7 @@ class MachineCom(object): self._handle_ok() ##~~ Message handling - elif line != '' \ - and not line.startswith("ok") \ - and not line.startswith("wait") \ - and not line.startswith('Resend:') \ - and line != 'echo:Unknown command:""\n' \ - and self.isOperational(): - self._callback.on_comm_message(line) + self._callback.on_comm_message(line) ##~~ Parsing for feedback commands if feedback_controls and feedback_matcher and not "_all" in feedback_errors: