mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 23:25:25 +03:00
Formatting
This commit is contained in:
parent
d4eb37e9d3
commit
90fed6dc14
@ -344,7 +344,9 @@ class PreviewRecorder:
|
|||||||
if len(self.output_frames) == 0:
|
if len(self.output_frames) == 0:
|
||||||
return
|
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)
|
new_frame_path = get_cache_image_name(self.config.name, frame_time)
|
||||||
shutil.copy(old_frame_path, new_frame_path)
|
shutil.copy(old_frame_path, new_frame_path)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user