Handle case where user has multiple manual events on same camera (#15943)

This commit is contained in:
Nicolas Mowen 2025-01-11 07:47:45 -07:00 committed by GitHub
parent c4727f19e1
commit 173b7aa308
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -527,6 +527,8 @@ class ReviewSegmentMaintainer(threading.Thread):
if event_id in self.indefinite_events[camera]:
self.indefinite_events[camera].pop(event_id)
if len(self.indefinite_events[camera]) == 0:
current_segment.last_update = manual_info["end_time"]
else:
logger.error(