From 8970520b0dcc11980ca2518a0045fa83b72aa710 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Fri, 7 Jul 2023 07:18:37 -0600 Subject: [PATCH] Formatting --- frigate/events/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/events/audio.py b/frigate/events/audio.py index 898c4b893..ec0acdecf 100644 --- a/frigate/events/audio.py +++ b/frigate/events/audio.py @@ -169,7 +169,7 @@ class AudioEventMaintainer(threading.Thread): if not self.feature_metrics[self.config.name]["audio_enabled"].value: return - rms = np.sqrt(np.mean(np.absolute(audio.astype(np.float32)**2))) + rms = np.sqrt(np.mean(np.absolute(audio.astype(np.float32) ** 2))) # only run audio detection when volume is above min_volume if rms >= self.config.audio.min_volume: