From 202db2cc0d529afc085d0d494c3245688741d799 Mon Sep 17 00:00:00 2001 From: jon Date: Sun, 1 Mar 2026 16:57:21 -0600 Subject: [PATCH] style: fix ruff formatting in breakdown API endpoint --- frigate/api/record.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frigate/api/record.py b/frigate/api/record.py index 44e243b04..c82de27c8 100644 --- a/frigate/api/record.py +++ b/frigate/api/record.py @@ -103,7 +103,9 @@ def get_recordings_storage_breakdown(request: Request): # 2. Event retention (aging out): recordings overlapping non-expired review segments # Use global config for expiry thresholds config = request.app.frigate_config - alert_expire = now - timedelta(days=config.record.alerts.retain.days).total_seconds() + alert_expire = ( + now - timedelta(days=config.record.alerts.retain.days).total_seconds() + ) detection_expire = ( now - timedelta(days=config.record.detections.retain.days).total_seconds() )