From f85c237b8420a6b0a05f1c27a43ec09b2690baaf Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 12 Aug 2024 07:30:37 -0600 Subject: [PATCH] Formatting --- frigate/record/export.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frigate/record/export.py b/frigate/record/export.py index 16b9a5f67..feb96f01f 100644 --- a/frigate/record/export.py +++ b/frigate/record/export.py @@ -75,7 +75,9 @@ class RecordingExporter(threading.Thread): def save_thumbnail(self, id: str) -> str: thumb_path = os.path.join(CLIPS_DIR, f"export/{id}.webp") - if self.user_provided_image is not None and os.path.isfile(self.user_provided_image): + if self.user_provided_image is not None and os.path.isfile( + self.user_provided_image + ): shutil.copy(self.user_provided_image, thumb_path) return thumb_path