invert active_count logic

This commit is contained in:
Blake Blackshear 2022-02-06 09:56:06 -06:00
parent 4a16171f96
commit 329e5f8f91

View File

@ -230,7 +230,7 @@ class RecordingMaintainer(threading.Thread):
[
o
for o in frame[1]
if not o["false_positive"] and o["motionless_count"] > 0
if not o["false_positive"] and o["motionless_count"] == 0
]
)