From 206b72ec4fed3121d878b58edb82016777442770 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 28 Oct 2025 19:50:11 -0700 Subject: [PATCH] init --- modules/checklist.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/checklist.py b/modules/checklist.py index 4044d78..cf6b283 100644 --- a/modules/checklist.py +++ b/modules/checklist.py @@ -245,8 +245,11 @@ def get_overdue_checkins(): }) return overdue_list - except Exception as e: + except sqlite3.OperationalError as e: conn.close() + if "no such table" in str(e): + initialize_checklist_database() + return get_overdue_checkins() logger.error(f"Checklist: Error getting overdue check-ins: {e}") return []