mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
Fix
This commit is contained in:
parent
e759fe4a55
commit
913d0e630e
@ -161,7 +161,9 @@ class RecordingMaintainer(threading.Thread):
|
|||||||
)
|
)
|
||||||
|
|
||||||
recordings_to_insert: list[Optional[Recordings]] = await asyncio.gather(*tasks)
|
recordings_to_insert: list[Optional[Recordings]] = await asyncio.gather(*tasks)
|
||||||
Recordings.insert_many([r for r in recordings_to_insert if r is not None])
|
Recordings.insert_many(
|
||||||
|
[r for r in recordings_to_insert if r is not None]
|
||||||
|
).execute()
|
||||||
|
|
||||||
async def validate_and_move_segment(
|
async def validate_and_move_segment(
|
||||||
self, camera: str, events: Event, recording: dict[str, any]
|
self, camera: str, events: Event, recording: dict[str, any]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user