From 60c88388864cd91006abb137c3895462e6b5dd30 Mon Sep 17 00:00:00 2001 From: Philipp Engel Date: Mon, 24 Nov 2014 22:07:49 +0100 Subject: [PATCH] added unsupported statement as bad result --- src/octoprint/util/comm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 9c653376..7118ab34 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -786,6 +786,7 @@ class MachineCom(object): and line.strip() != 'ok' and not line.startswith("wait") \ and not line.startswith('Resend:') \ and line != 'echo:Unknown command:""\n' \ + and line != "Unsupported statement" \ and self.isOperational(): self._callback.mcMessage(line)