From 0e4e3383e345ed70836f86969fa34c584f2d236e Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Sat, 20 Nov 2021 11:25:22 -0500 Subject: [PATCH] update_manager: node update fix Use "getboolean" rather than "get" to fetch this option. SIgned-off-by: Eric Callahan --- moonraker/components/update_manager/app_deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonraker/components/update_manager/app_deploy.py b/moonraker/components/update_manager/app_deploy.py index 3f22f00..8f549df 100644 --- a/moonraker/components/update_manager/app_deploy.py +++ b/moonraker/components/update_manager/app_deploy.py @@ -80,7 +80,7 @@ class AppDeploy(BaseDeploy): self.origin: str = config.get('origin') self.primary_branch = config.get("primary_branch", "master") self.npm_pkg_json: Optional[pathlib.Path] = None - if config.get("enable_node_updates", False): + if config.getboolean("enable_node_updates", False): self.npm_pkg_json = self.path.joinpath("package-lock.json") self._verify_path(config, 'enable_node_updates', self.npm_pkg_json) self.python_reqs: Optional[pathlib.Path] = None