From 705bb9c7aea5327fef480d2a49d4589af497c8cd Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Tue, 26 Aug 2025 08:18:09 -0600 Subject: [PATCH] Formatting --- frigate/camera/activity_manager.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frigate/camera/activity_manager.py b/frigate/camera/activity_manager.py index 2b2420de6..c2dfa891d 100644 --- a/frigate/camera/activity_manager.py +++ b/frigate/camera/activity_manager.py @@ -181,7 +181,10 @@ class AudioActivityManager: new_detections = new_activity[camera].get("detections", []) if self.compare_audio_activity(camera, new_detections, now): logger.debug(f"Audio detections for {camera}: {new_activity}") - self.publish(f"{camera}/audio/all", "ON" if len(self.current_audio_detections[camera]) > 0 else "OFF") + self.publish( + f"{camera}/audio/all", + "ON" if len(self.current_audio_detections[camera]) > 0 else "OFF", + ) self.publish( "audio_detections", json.dumps(self.current_audio_detections),