From 70f072d2229e2f356e6a2f4c0515dcdba7a2f4a4 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 29 Oct 2025 11:29:33 -0700 Subject: [PATCH] default is nonApproved --- modules/checklist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/checklist.py b/modules/checklist.py index 3f0e895..d300b28 100644 --- a/modules/checklist.py +++ b/modules/checklist.py @@ -36,14 +36,14 @@ def checkin(name, date, time, location, notes): c = conn.cursor() try: c.execute( - "INSERT INTO checkin (checkin_name, checkin_date, checkin_time, location, checkin_notes, removed) VALUES (?, ?, ?, ?, ?, 0)", + "INSERT INTO checkin (checkin_name, checkin_date, checkin_time, location, checkin_notes, removed) VALUES (?, ?, ?, ?, 0, 0)", (name, date, time, location, notes) ) except sqlite3.OperationalError as e: if "no such table" in str(e): initialize_checklist_database() c.execute( - "INSERT INTO checkin (checkin_name, checkin_date, checkin_time, location, checkin_notes, removed) VALUES (?, ?, ?, ?, ?, 0)", + "INSERT INTO checkin (checkin_name, checkin_date, checkin_time, location, checkin_notes, removed) VALUES (?, ?, ?, ?, 0, 0)", (name, date, time, location, notes) ) else: