mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-19 09:27:06 +03:00
Formatting
This commit is contained in:
parent
9bc1b820bd
commit
38102f108f
@ -135,7 +135,9 @@ def config(request: Request):
|
|||||||
camera_dict["zones"][zone_name]["color"] = zone.color
|
camera_dict["zones"][zone_name]["color"] = zone.color
|
||||||
|
|
||||||
# remove go2rtc stream passwords
|
# remove go2rtc stream passwords
|
||||||
for stream_name, stream in request.app.frigate_config.go2rtc.get("streams", {}).items():
|
for stream_name, stream in request.app.frigate_config.go2rtc.get(
|
||||||
|
"streams", {}
|
||||||
|
).items():
|
||||||
if isinstance(stream, str):
|
if isinstance(stream, str):
|
||||||
cleaned = clean_camera_user_pass(stream)
|
cleaned = clean_camera_user_pass(stream)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user