bascially ready to ship

This commit is contained in:
Joe Fleming
2026-03-07 17:13:36 -07:00
parent f3bb38aea1
commit 0941b228ef
4 changed files with 92 additions and 48 deletions

View File

@@ -62,6 +62,8 @@ class Database:
def connect(self):
"""Establish database connection."""
if not self.db_path.exists():
raise FileNotFoundError(f"Database not found: {self.db_path}")
self.conn = sqlite3.connect(self.db_path)
self.conn.row_factory = sqlite3.Row