forked from clan/clan-core
fix updating multiple machines
This commit is contained in:
parent
b2c3b3840f
commit
79e707b044
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user