fix db file location

This commit is contained in:
matt committed 2026-10-17 05:45:26 -07:00
1 parent 096634269b
commit 6f0fd8229c
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@ import os
from typing import List, Dict, Any, Optional
# Path to the SQLite database file
DB_PATH = os.path.join(os.path.dirname(__file__), "/db_file/fitness.db")
DB_PATH = os.path.join(os.path.dirname(__file__), "db_file" ,"fitness.db")
# Ensure the database directory exists
os.makedirs(os.path.dirname(DB_PATH), exist_ok=True)