Fix event counting

This commit is contained in:
Lauri Võsandi 2022-07-27 21:58:18 +03:00
parent 188de3a192
commit 46f5898dc4
1 changed files with 1 additions and 0 deletions

View File

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