05/23 Phase 8

This commit is contained in:
2026-05-23 12:05:33 -04:00
parent 8fc1878670
commit 524cdfda9a
10 changed files with 149 additions and 18 deletions
+3 -3
View File
@@ -9,11 +9,11 @@ import sqlite3
import logging
import os
from core.paths import user_data_dir
logger = logging.getLogger(__name__)
# DB file lives in lottosight/data/lottosight.db
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
DB_PATH = os.path.join(BASE_DIR, "data", "lottosight.db")
DB_PATH = os.path.join(user_data_dir(), "data", "lottosight.db")
def get_connection():