mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 15:15:22 +03:00
Fix hardcoded camera name
This commit is contained in:
parent
e66f47bdf6
commit
e75fa764d2
@ -73,7 +73,7 @@ class RecordingCleanup(threading.Thread):
|
|||||||
).timestamp()
|
).timestamp()
|
||||||
expired_reviews: ReviewSegment = (
|
expired_reviews: ReviewSegment = (
|
||||||
ReviewSegment.select(ReviewSegment.id)
|
ReviewSegment.select(ReviewSegment.id)
|
||||||
.where(ReviewSegment.camera == "front_cam")
|
.where(ReviewSegment.camera == config.name)
|
||||||
.where(
|
.where(
|
||||||
reduce(
|
reduce(
|
||||||
operator.or_,
|
operator.or_,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user