diff --git a/resources/gcode_shell_command.py b/resources/gcode_shell_command.py index 4138172..85c1cb6 100755 --- a/resources/gcode_shell_command.py +++ b/resources/gcode_shell_command.py @@ -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"