fix bug in detection of database
This commit is contained in:
parent
d580673ea3
commit
cb24495c95
@ -10,7 +10,7 @@ def create_database():
|
|||||||
"""Creates the database."""
|
"""Creates the database."""
|
||||||
|
|
||||||
# Check if the database already exists
|
# 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")
|
logging.debug("Database already exists, skipping creation")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user