mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-19 09:27:06 +03:00
Set type
This commit is contained in:
parent
c60d595bc2
commit
c7be6ba2fc
@ -135,7 +135,7 @@ 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
|
||||||
go2rtc = config_obj.go2rtc.model_dump(
|
go2rtc: dict[str, any] = config_obj.go2rtc.model_dump(
|
||||||
mode="json", warnings="none", exclude_none=True
|
mode="json", warnings="none", exclude_none=True
|
||||||
)
|
)
|
||||||
for stream_name, stream in go2rtc.get("streams", {}).items():
|
for stream_name, stream in go2rtc.get("streams", {}).items():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user