Fix: Send non-protocol messages from the printer to clients

Solves #1385
This commit is contained in:
Gina Häußge 2016-07-14 19:42:43 +02:00
parent 20fc7f25bc
commit bfcd00e466

View file

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