From 8e15a3fc990b0725c8921ec0cfc8d33bcf83bc5a Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sat, 18 Jan 2025 14:31:48 -0800 Subject: [PATCH] Update checklist.py --- modules/checklist.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/checklist.py b/modules/checklist.py index 808a34e..a38664b 100644 --- a/modules/checklist.py +++ b/modules/checklist.py @@ -22,6 +22,7 @@ def initialize_checklist_database(): logger.debug("System: Ensured data/checklist.db exists with required tables") def checkin(name, date, time, location, notes): + location = ", ".join(map(str, location)) # checkin a user conn = sqlite3.connect(checklist_db) c = conn.cursor() @@ -47,6 +48,7 @@ def delete_checkin(checkin_id): return "Checkin deleted." + str(checkin_id) def checkout(name, date, time, location, notes): + location = ", ".join(map(str, location)) # checkout a user conn = sqlite3.connect(checklist_db) c = conn.cursor()