From 21aea94bd7f79647ca6d4d0222b6b1563fb0c66b Mon Sep 17 00:00:00 2001 From: Nate Wessel Date: Sat, 18 Jan 2020 12:01:07 -0500 Subject: [PATCH] reminding myself what blocks are for --- db.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db.py b/db.py index 8e7b327..371988f 100644 --- a/db.py +++ b/db.py @@ -76,7 +76,8 @@ def new_trip_id(): def new_block_id(): - """get a next block_id to start from, defaulting to 1""" + """Get a next block_id to start from, defaulting to 1. + This is used to group sequential trips by the same vehicle.""" c = cursor() c.execute( """