From 8170057434f48c0ec99014941f179a30a7c9e2a3 Mon Sep 17 00:00:00 2001 From: dw-0 Date: Sun, 3 Aug 2025 10:07:13 +0200 Subject: [PATCH] fix(moonraker): correctly patch trusted_clients options fixes #711 #709 Signed-off-by: Dominik Willner --- kiauh/components/moonraker/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiauh/components/moonraker/utils/utils.py b/kiauh/components/moonraker/utils/utils.py index e358367..55b9cea 100644 --- a/kiauh/components/moonraker/utils/utils.py +++ b/kiauh/components/moonraker/utils/utils.py @@ -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))