From 1baa85d1094399de618b7aee00988f32327f41bb Mon Sep 17 00:00:00 2001 From: Arksine Date: Tue, 14 Jul 2020 07:15:38 -0400 Subject: [PATCH] shell_command: Fix logging Signed-off-by: Eric Callahan --- moonraker/plugins/shell_command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moonraker/plugins/shell_command.py b/moonraker/plugins/shell_command.py index 78dca52..dea485a 100644 --- a/moonraker/plugins/shell_command.py +++ b/moonraker/plugins/shell_command.py @@ -74,10 +74,10 @@ class ShellCommand: self.output_cb(self.partial_output) self.partial_output = b"" if complete: - msg = "Command {%s} finished\n" % (self.name) + msg = "Command {%s} finished" % (self.name) else: msg = "Command {%s} timed out" % (self.name) - logging.info("shell_command: " + msg) + logging.info(msg) self.io_loop.remove_handler(fd) class ShellCommandFactory: