fix(moonraker): correctly patch trusted_clients options
fixes #711 #709 Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
1 parent
985b66d41f
commit
8170057434
1 file changed
+1
-1
@@ -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