From 46f5898dc499466313bf2245fb9a371e771573c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Wed, 27 Jul 2022 21:58:18 +0300 Subject: [PATCH] Fix event counting --- camdetect.py | 1 + 1 file changed, 1 insertion(+) diff --git a/camdetect.py b/camdetect.py index 717a503..5069f10 100755 --- a/camdetect.py +++ b/camdetect.py @@ -307,6 +307,7 @@ async def motion_detector(reference_frame, download_queue, upload_queue): } }) app.ctx.event_id = event_id = None + counter_events.inc() def generate_thumbnail(dct):