From 723344bc0b3d50e9d7e085e917e0f85c834e8aca Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sat, 12 Oct 2024 11:30:35 -0600 Subject: [PATCH] Formatting --- frigate/util/downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/util/downloader.py b/frigate/util/downloader.py index c38f8b821..6685b0bb8 100644 --- a/frigate/util/downloader.py +++ b/frigate/util/downloader.py @@ -20,7 +20,7 @@ class FileLock: self.lock_file = f"{path}.lock" # we have not acquired the lock yet so it should not exist - if (os.path.exists(self.lock_file)): + if os.path.exists(self.lock_file): try: os.remove(self.lock_file) except Exception: