Commit 25cbafbd authored by Guillaume Seguin's avatar Guillaume Seguin

Merge pull request #627 from wolfmanjm/fix/upstream-command-message

Fix messages coming from firmware that just have // don't get considered...
parents 7f5c8554 3ea0604f
......@@ -1687,10 +1687,10 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
command = l.split(" ", 1)
if len(command) > 1:
command = command[1]
self.log(_("Received command %s") % command)
command = command.split(":")
if len(command) == 2 and command[0] == "action":
command = command[1]
self.log(_("Received command %s") % command)
if command == "pause":
if not self.paused:
wx.CallAfter(self.pause)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment