1
0
forked from clan/clan-core

fix updating multiple machines

This commit is contained in:
Jörg Thalheim 2023-10-27 14:42:12 +02:00
parent b2c3b3840f
commit 79e707b044

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