strix

A simple web UI for motion
git clone https://www.brianlane.com/git/strix
Log | Files | Refs | LICENSE

commit 447473001c1eadb0259a89d8c2e110082fa1b053
parent f7cdf01fd1db66c3916fd8a0df982cfa35386de0
Author: Brian C. Lane <bcl@brianlane.com>
Date:   Thu, 21 Sep 2017 06:12:57 -0700

Fix the 1-off error in the limits request.

Diffstat:
Msrc/strix/events.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/strix/events.py b/src/strix/events.py @@ -118,7 +118,7 @@ def camera_events(log: structlog.BoundLogger, base_dir: str, camera: str, events.insert(0, event_details(log, event_path)) added += 1 - if added > limit: + if added >= limit: break return events