Fix issue with partial lines being repeated #118

Merged
richardjm merged 1 commits from patch-1 into master 2021-09-27 17:44:12 +02:00

View File

@@ -40,6 +40,8 @@ class ShellCommand:
split = data.rfind('\n') + 1
self.partial_output = data[split:]
data = data[:split]
else:
self.partial_output = ""
self.gcode.respond_info(data)
cmd_RUN_SHELL_COMMAND_help = "Run a linux shell command"