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()