mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-11 17:44:28 +05:00
fix(moonraker): correctly patch trusted_clients options
fixes #711 #709 Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user