fix updating multiple machines

This commit is contained in:
Jörg Thalheim
2023-10-27 14:42:12 +02:00
parent 1b98be4fb7
commit 8daf0607c3

View File

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