Skip to content

NVR with realtime local object detection for IP cameras

Fix crash when streams are undefined in go2rtc config password cleaning (#15695)

Josh Hawkinsc48396c5c6e7
diff --git a/frigate/api/app.py b/frigate/api/app.py
index 57efdeb15c..7ab54ad86c 100644
--- a/frigate/api/app.py
+++ b/frigate/api/app.py
@@ -139,6 +139,8 @@ def config(request: Request):
mode="json", warnings="none", exclude_none=True
)
for stream_name, stream in go2rtc.get("streams", {}).items():
+ if stream is None:
+ continue
if isinstance(stream, str):
cleaned = clean_camera_user_pass(stream)
else: