mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-17 21:58:22 +03:00
fix: apply same or operator fix to review/maintainer.py
Same issue as record/maintainer.py — the condition was always true because the bare enum value is truthy.
This commit is contained in:
parent
413779ee2a
commit
da7dd47436
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user