This commit is contained in:
ryzendigo 2026-03-17 09:20:29 +00:00 committed by GitHub
commit bb948f73d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -727,7 +727,8 @@ class RecordingMaintainer(threading.Thread):
)
)
elif (
topic == DetectionTypeEnum.api.value or DetectionTypeEnum.lpr.value
topic == DetectionTypeEnum.api.value
or topic == DetectionTypeEnum.lpr.value
):
continue

View File

@ -642,7 +642,10 @@ class ReviewSegmentMaintainer(threading.Thread):
_,
audio_detections,
) = data
elif topic == DetectionTypeEnum.api.value or DetectionTypeEnum.lpr.value:
elif (
topic == DetectionTypeEnum.api.value
or topic == DetectionTypeEnum.lpr.value
):
(
camera,
frame_time,