mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 03:35:26 +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 = (
|
events = (
|
||||||
Event.select(Event.id)
|
Event.select(Event.id)
|
||||||
.where(Event.camera == name)
|
.where(Event.camera == name)
|
||||||
.where(Event.false_positive == None)
|
.where((Event.false_positive == None) | (Event.false_positive == False))
|
||||||
.where(Event.start_time > last_update)
|
.where(Event.start_time > last_update)
|
||||||
)
|
)
|
||||||
valid_event_ids = [e["id"] for e in events.dicts()]
|
valid_event_ids = [e["id"] for e in events.dicts()]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user