浏览代码

invert active_count logic

Blake Blackshear 3 年之前
父节点
当前提交
329e5f8f91
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      frigate/record.py

+ 1 - 1
frigate/record.py

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