Fix region check

This commit is contained in:
Nick Mowen 2023-10-17 09:15:22 -06:00
parent a56efd56e3
commit bb6863cb30

View File

@ -48,7 +48,7 @@ def get_camera_regions_grid(
events = (
Event.select(Event.id)
.where(Event.camera == name)
.where(Event.false_positive != True)
.where(Event.false_positive == None)
.where(Event.start_time > last_update)
)
valid_event_ids = [e["id"] for e in events.dicts()]