From f5c27f27ce32dcd85b79ea696f0b01918fde6e65 Mon Sep 17 00:00:00 2001 From: Arksine Date: Thu, 18 Mar 2021 08:25:08 -0400 Subject: [PATCH] shell_command: replace references to "plugin" with "component" 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 fdf483a..eb8c228 100644 --- a/moonraker/plugins/shell_command.py +++ b/moonraker/plugins/shell_command.py @@ -214,5 +214,5 @@ class ShellCommandFactory: env=None, log_stderr=False): return ShellCommand(cmd, callback, std_err_callback, env, log_stderr) -def load_plugin(config): +def load_component(config): return ShellCommandFactory()