diff --git a/frigate/output/preview.py b/frigate/output/preview.py index 3c33ab072..87efa3f11 100644 --- a/frigate/output/preview.py +++ b/frigate/output/preview.py @@ -344,7 +344,9 @@ class PreviewRecorder: if len(self.output_frames) == 0: return - old_frame_path = get_cache_image_name(self.config.name, self.output_frames[-1]) + old_frame_path = get_cache_image_name( + self.config.name, self.output_frames[-1] + ) new_frame_path = get_cache_image_name(self.config.name, frame_time) shutil.copy(old_frame_path, new_frame_path)