mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 11:45:24 +03:00
Formatting
This commit is contained in:
parent
4d0b75497a
commit
88579dca99
@ -100,7 +100,9 @@ def sync_recordings(limited: bool) -> None:
|
|||||||
if len(files_to_delete) == 0:
|
if len(files_to_delete) == 0:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
logger.info(f"Deleting {len(files_to_delete)} recordings files that are missing DB entries.")
|
logger.info(
|
||||||
|
f"Deleting {len(files_to_delete)} recordings files that are missing DB entries."
|
||||||
|
)
|
||||||
|
|
||||||
if float(len(files_to_delete)) / max(1, len(files_on_disk)) > 0.5:
|
if float(len(files_to_delete)) / max(1, len(files_on_disk)) > 0.5:
|
||||||
logger.debug(
|
logger.debug(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user