mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-04 02:05:21 +03:00
Output as json instead of yaml
This commit is contained in:
parent
d7ee22de9d
commit
4ff1a9216f
@ -27,4 +27,4 @@ if not go2rtc_config.get("log", {}).get("format"):
|
|||||||
if not go2rtc_config.get("webrtc", {}).get("candidates", []):
|
if not go2rtc_config.get("webrtc", {}).get("candidates", []):
|
||||||
go2rtc_config["webrtc"] = {"candidates": ["stun:8555"]}
|
go2rtc_config["webrtc"] = {"candidates": ["stun:8555"]}
|
||||||
|
|
||||||
print(yaml.dump(go2rtc_config, default_flow_style=False))
|
print(json.dumps(go2rtc_config))
|
||||||
Loading…
Reference in New Issue
Block a user