Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeanon committed Jan 6, 2025
1 parent 0f238bb commit 4809c4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion moonraker/components/update_manager/app_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _configure_path(self, config: ConfigHelper, reserve: bool = True) -> None:
self.path = pathlib.Path(config.get('path')).expanduser().resolve()
self._verify_path(config, 'path', self.path, check_file=False)
if (
reserve and self.name not in ["moonraker", "klipper"]
reserve and self.name not in ["moonraker", "kalico"]
and not self.path.joinpath(".writeable").is_file()
):
fm: FileManager = self.server.lookup_component("file_manager")
Expand Down
6 changes: 3 additions & 3 deletions moonraker/components/update_manager/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ def get_base_configuration(config: ConfigHelper) -> ConfigHelper:
base_cfg = copy.deepcopy(BASE_CONFIG)
kconn: KlippyConnection = server.lookup_component("klippy_connection")
base_cfg["moonraker"]["type"] = str(AppType.detect())
base_cfg["klipper"]["path"] = str(kconn.path)
base_cfg["klipper"]["env"] = str(kconn.executable)
base_cfg["klipper"]["type"] = str(AppType.detect(kconn.path))
base_cfg["kalico"]["path"] = str(kconn.path)
base_cfg["kalico"]["env"] = str(kconn.executable)
base_cfg["kalico"]["type"] = str(AppType.detect(kconn.path))
default_channel = config.get("channel", None)
# Check for configuration overrides
for app_name in base_cfg.keys():
Expand Down

0 comments on commit 4809c4a

Please sign in to comment.