mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-12 22:25:24 +03:00
fix check
This commit is contained in:
parent
550fce3250
commit
48e167a673
@ -300,7 +300,7 @@ class CameraWatchdog(threading.Thread):
|
|||||||
for d in os.listdir(CACHE_DIR)
|
for d in os.listdir(CACHE_DIR)
|
||||||
if os.path.isfile(os.path.join(CACHE_DIR, d))
|
if os.path.isfile(os.path.join(CACHE_DIR, d))
|
||||||
and d.endswith(".mp4")
|
and d.endswith(".mp4")
|
||||||
and not d.startswith("clip_")
|
and not d.startswith("preview_")
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
newest_segment_time = latest_segment
|
newest_segment_time = latest_segment
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user