Fix formatting

This commit is contained in:
Nick Mowen 2022-12-05 09:37:49 -07:00
parent 16700211fa
commit 8d85fe49c6

View File

@ -276,7 +276,11 @@ class CameraWatchdog(threading.Thread):
for p in self.ffmpeg_other_processes: for p in self.ffmpeg_other_processes:
poll = p["process"].poll() poll = p["process"].poll()
if self.config.record.enabled and "record" in p["roles"] and not self.verify_ffmpeg_recordings(): if (
self.config.record.enabled
and "record" in p["roles"]
and not self.verify_ffmpeg_recordings()
):
self.logger.error( self.logger.error(
f"No recording segments from {self.camera_name}. Exiting ffmpeg..." f"No recording segments from {self.camera_name}. Exiting ffmpeg..."
) )