Update frigate/record/maintainer.py

Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
This commit is contained in:
Nicolas Mowen 2023-06-16 06:42:06 -06:00 committed by GitHub
parent 24cc2f1f80
commit 040d42ff85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,7 +127,7 @@ class RecordingMaintainer(threading.Thread):
*(self.validate_segment(camera, events, r) for r in recordings)
)
async def validate_segment(
async def validate_and_move_segment(
self, camera: str, events: Event, recording: dict[str, any]
) -> None:
cache_path = recording["cache_path"]