mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
Formatting
This commit is contained in:
parent
4c9243d0ce
commit
24cc2f1f80
@ -158,9 +158,7 @@ class RecordingMaintainer(threading.Thread):
|
|||||||
self.end_time_cache[cache_path] = (end_time, duration)
|
self.end_time_cache[cache_path] = (end_time, duration)
|
||||||
else:
|
else:
|
||||||
if duration == -1:
|
if duration == -1:
|
||||||
logger.warning(
|
logger.warning(f"Failed to probe corrupt segment {cache_path}")
|
||||||
f"Failed to probe corrupt segment {cache_path}"
|
|
||||||
)
|
|
||||||
|
|
||||||
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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user