diff --git a/frigate/object_processing.py b/frigate/object_processing.py index 50d962917..e73186f46 100644 --- a/frigate/object_processing.py +++ b/frigate/object_processing.py @@ -1138,12 +1138,14 @@ class TrackedObjectProcessor(threading.Thread): ) ) or ( - not review_config.detections.labels - or obj.obj_data["label"] in review_config.detections.labels - ) - and ( - not review_config.detections.required_zones - or set(obj.entered_zones) & set(review_config.alerts.required_zones) + ( + not review_config.detections.labels + or obj.obj_data["label"] in review_config.detections.labels + ) + and ( + not review_config.detections.required_zones + or set(obj.entered_zones) & set(review_config.alerts.required_zones) + ) ) ): logger.debug(