Formatting

This commit is contained in:
Nick Mowen 2023-08-03 15:56:22 -06:00
parent 2a5470cee2
commit 05f964bb14

View File

@ -307,9 +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("Error reading audio data from ffmpeg process: {e}")
log_and_restart()
def run(self) -> None: