mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-07 09:22:44 +02:00
init
This commit is contained in:
@@ -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 []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user