From a6f8e1b9a909a8ae1657053bcd5066d0b3484457 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Tue, 13 Jan 2026 14:56:56 -0600 Subject: [PATCH] formatting --- frigate/api/camera.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/frigate/api/camera.py b/frigate/api/camera.py index c26469ba3..488ec1e1f 100644 --- a/frigate/api/camera.py +++ b/frigate/api/camera.py @@ -905,11 +905,7 @@ async def onvif_probe( "/11", ] # Use raw credentials for pattern fallback URIs when provided - auth_str = ( - f"{username}:{password}@" - if username and password - else "" - ) + auth_str = f"{username}:{password}@" if username and password else "" rtsp_port = 554 for path in common_paths: uri = f"rtsp://{auth_str}{host}:{rtsp_port}{path}"