mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-04 04:27:42 +03:00
Formatting
This commit is contained in:
parent
07b6eae0b5
commit
c923d00254
@ -74,7 +74,7 @@ def go2rtc_streams():
|
|||||||
)
|
)
|
||||||
stream_data = r.json()
|
stream_data = r.json()
|
||||||
for data in stream_data.values():
|
for data in stream_data.values():
|
||||||
for producer in (data.get("producers") or []):
|
for producer in data.get("producers") or []:
|
||||||
producer["url"] = clean_camera_user_pass(producer.get("url", ""))
|
producer["url"] = clean_camera_user_pass(producer.get("url", ""))
|
||||||
return JSONResponse(content=stream_data)
|
return JSONResponse(content=stream_data)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user