From 79e707b0442202678173e1a532b2ef3d52913597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 27 Oct 2023 14:42:12 +0200 Subject: [PATCH] fix updating multiple machines --- pkgs/clan-cli/clan_cli/machines/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/clan-cli/clan_cli/machines/update.py b/pkgs/clan-cli/clan_cli/machines/update.py index 6f1171952..f8ee808e1 100644 --- a/pkgs/clan-cli/clan_cli/machines/update.py +++ b/pkgs/clan-cli/clan_cli/machines/update.py @@ -87,7 +87,7 @@ def get_all_machines(clan_dir: Path) -> HostGroup: text=True, ).stdout - machines = json.loads(Path(machines_json).read_text()) + machines = json.loads(Path(machines_json.rstrip()).read_text()) hosts = [] for name, machine_data in machines.items():