NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
fix: return ValueError should be raise ValueError (#22474)
ryzendigo09df43a6753e
diff --git a/frigate/util/builtin.py b/frigate/util/builtin.pyindex aa2417a5c4..42aa18c0a6 100644--- a/frigate/util/builtin.py+++ b/frigate/util/builtin.py@@ -116,7 +116,7 @@ def clean_camera_user_pass(line: str) -> str:def escape_special_characters(path: str) -> str:"""Cleans reserved characters to encodings for ffmpeg."""if len(path) > 1000:- return ValueError("Input too long to check")+ raise ValueError("Input too long to check")try:found = re.search(REGEX_RTSP_CAMERA_USER_PASS, path).group(0)[3:-1]