invert active_count logic

This commit is contained in:
Blake Blackshear 2022-02-06 09:56:06 -06:00
parent 499f75e165
commit 2d5ec25dca

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
]
)