mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-06 19:25:22 +03:00
Accept all but true
This commit is contained in:
parent
bb6863cb30
commit
d7b8652b69
@ -48,7 +48,7 @@ def get_camera_regions_grid(
|
||||
events = (
|
||||
Event.select(Event.id)
|
||||
.where(Event.camera == name)
|
||||
.where(Event.false_positive == None)
|
||||
.where((Event.false_positive == None) | (Event.false_positive == False))
|
||||
.where(Event.start_time > last_update)
|
||||
)
|
||||
valid_event_ids = [e["id"] for e in events.dicts()]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user