diff --git a/docker/rootfs/usr/local/go2rtc/create_config.py b/docker/rootfs/usr/local/go2rtc/create_config.py index d5b2957e5..314e21988 100644 --- a/docker/rootfs/usr/local/go2rtc/create_config.py +++ b/docker/rootfs/usr/local/go2rtc/create_config.py @@ -37,4 +37,4 @@ if not go2rtc_config.get("webrtc", {}).get("candidates", []): # Write YAML config to /dev/shm/go2rtc.yaml with open("/dev/shm/go2rtc.yaml", "w") as f: - yaml.dump(config, f) + yaml.dump(go2rtc_config, f)