fix(moonraker): correctly patch trusted_clients options

fixes #711 #709

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
dw-0
2025-08-03 10:07:13 +02:00
parent 985b66d41f
commit 8170057434

View File

@@ -126,7 +126,7 @@ def create_example_moonraker_conf(
scp.read_file(target)
trusted_clients: List[str] = [
f" {'.'.join(ip)}\n",
*scp.getval("authorization", "trusted_clients"),
*scp.getvals("authorization", "trusted_clients"),
]
scp.set_option("server", "port", str(port))