mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 13:07:44 +03:00
Formatting
This commit is contained in:
parent
5d1347c77d
commit
6288805919
@ -174,7 +174,9 @@ class RecordingMaintainer(threading.Thread):
|
|||||||
f"Failed to probe corrupt segment {cache_path}: {p.returncode} - {p.stderr}"
|
f"Failed to probe corrupt segment {cache_path}: {p.returncode} - {p.stderr}"
|
||||||
)
|
)
|
||||||
|
|
||||||
logger.warning(f"Discarding a corrupt recording segment: {cache_path}")
|
logger.warning(
|
||||||
|
f"Discarding a corrupt recording segment: {cache_path}"
|
||||||
|
)
|
||||||
Path(cache_path).unlink(missing_ok=True)
|
Path(cache_path).unlink(missing_ok=True)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user