mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 20:25:26 +03:00
quick fix
This commit is contained in:
parent
940be5dc6f
commit
feafd86b98
@ -172,7 +172,7 @@ class ReviewSegmentMaintainer(threading.Thread):
|
|||||||
segment.objects.add(object["label"])
|
segment.objects.add(object["label"])
|
||||||
|
|
||||||
if object["sub_label"]:
|
if object["sub_label"]:
|
||||||
segment.sub_labels.add(object["sub_label"])
|
segment.sub_labels.add(object["sub_label"][0])
|
||||||
|
|
||||||
# if object is alert label and has qualified for recording
|
# if object is alert label and has qualified for recording
|
||||||
# mark this review as alert
|
# mark this review as alert
|
||||||
@ -228,7 +228,7 @@ class ReviewSegmentMaintainer(threading.Thread):
|
|||||||
objects.add(object["label"])
|
objects.add(object["label"])
|
||||||
|
|
||||||
if object["sub_label"]:
|
if object["sub_label"]:
|
||||||
sub_labels.add(object["sub_label"])
|
sub_labels.add(object["sub_label"][0])
|
||||||
|
|
||||||
zones.update(object["current_zones"])
|
zones.update(object["current_zones"])
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user