From 6f0fd8229cdd76167abf545d72d186dd5188a99c Mon Sep 17 00:00:00 2001 From: matt Date: Sat, 17 Oct 2026 05:45:26 -0700 Subject: [PATCH] fix db file location --- api/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/database.py b/api/database.py index 430e818..a504924 100644 --- a/api/database.py +++ b/api/database.py @@ -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)