mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-19 19:06:16 +01:00
Fix recording snapshot time range (#8073)
* Fix recording snapshot time range * Formatting * Formatting
This commit is contained in:
parent
8941aa5311
commit
79fabbb6b0
@ -1351,7 +1351,10 @@ def get_snapshot_from_recording(camera_name: str, frame_time: str):
|
||||
Recordings.start_time,
|
||||
)
|
||||
.where(
|
||||
((frame_time > Recordings.start_time) & (frame_time < Recordings.end_time))
|
||||
(
|
||||
(frame_time >= Recordings.start_time)
|
||||
& (frame_time <= Recordings.end_time)
|
||||
)
|
||||
)
|
||||
.where(Recordings.camera == camera_name)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user