From 9ef3fdbfe7da527f183f30213dfca04e715144db Mon Sep 17 00:00:00 2001 From: p-boon <24475562+p-boon@users.noreply.github.com> Date: Tue, 25 Feb 2025 14:50:24 +0100 Subject: [PATCH] Fix code comment --- frigate/motion/improved_motion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/motion/improved_motion.py b/frigate/motion/improved_motion.py index e05da58a1..d212aa732 100644 --- a/frigate/motion/improved_motion.py +++ b/frigate/motion/improved_motion.py @@ -197,7 +197,7 @@ class ImprovedMotionDetector(MotionDetector): motion_boxes = [] # ignore small movements self.calibrating = False - # if calibrating or the motion contours are > 80% of the image area (lightning, ir, ptz) recalibrate + # if the motion contours are > 80% of the image area (lightning, ir, ptz) recalibrate if not self.calibrating and pct_motion > self.config.lightning_threshold: self.calibrating = True