From cb24495c95bb30436ea4d57104025a689e4125d7 Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Mon, 6 Nov 2023 20:35:00 +0100 Subject: [PATCH] fix bug in detection of database --- src/database/db_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/db_utils.py b/src/database/db_utils.py index 3eebdee..c364703 100644 --- a/src/database/db_utils.py +++ b/src/database/db_utils.py @@ -10,7 +10,7 @@ def create_database(): """Creates the database.""" # Check if the database already exists - if os.path.exists(project_path / "resources" / "jarvis-commands-memory.sqlite"): + if os.path.exists(project_path / "resources" / "db-jarvis-commands-memory.sqlite"): logging.debug("Database already exists, skipping creation") return