Sfoglia il codice sorgente

invert active_count logic

Blake Blackshear 3 anni fa
parent
commit
329e5f8f91
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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
                 ]
             )