From 470cc13b0e05e32962bbb14ce078f7a8895b83d7 Mon Sep 17 00:00:00 2001 From: Arksine Date: Wed, 5 Aug 2020 21:07:20 -0400 Subject: [PATCH] shell_command: Add configparser support Signed-off-by: Eric Callahan --- moonraker/plugins/shell_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonraker/plugins/shell_command.py b/moonraker/plugins/shell_command.py index dea485a..5bef472 100644 --- a/moonraker/plugins/shell_command.py +++ b/moonraker/plugins/shell_command.py @@ -84,5 +84,5 @@ class ShellCommandFactory: def build_shell_command(self, cmd, callback): return ShellCommand(cmd, callback) -def load_plugin(server): +def load_plugin(config): return ShellCommandFactory()