From d10990140fb29408c75361571171bdb32470fbbd Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Thu, 3 Aug 2023 16:13:20 -0600 Subject: [PATCH] Fix check --- 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 c61e93571..72333bc8a 100644 --- a/frigate/events/audio.py +++ b/frigate/events/audio.py @@ -307,7 +307,7 @@ class AudioEventMaintainer(threading.Thread): audio = np.frombuffer(chunk, dtype=np.int16) self.detect_audio(audio) except Exception as e: - self.logger.error("Error reading audio data from ffmpeg process: {e}") + self.logger.error(f"Error reading audio data from ffmpeg process: {e}") log_and_restart() def run(self) -> None: