Fix hardcoded camera name

This commit is contained in:
Nicolas Mowen 2024-09-03 09:40:31 -06:00
parent e66f47bdf6
commit e75fa764d2

View File

@ -73,7 +73,7 @@ class RecordingCleanup(threading.Thread):
).timestamp()
expired_reviews: ReviewSegment = (
ReviewSegment.select(ReviewSegment.id)
.where(ReviewSegment.camera == "front_cam")
.where(ReviewSegment.camera == config.name)
.where(
reduce(
operator.or_,