From 262d225124272907ba890414058b65133f7fdf8b Mon Sep 17 00:00:00 2001 From: Alexandre Pulido Date: Thu, 5 Sep 2024 00:34:43 +0200 Subject: [PATCH] fix: correct sqlite path for Windows --- .gitignore | 1 + app/constants.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5d402be..9b267dc 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ data /lib64 /pyvenv.cfg /share +/Scripts # pyenv .python-version \ No newline at end of file diff --git a/app/constants.py b/app/constants.py index 17da91c..2e81480 100644 --- a/app/constants.py +++ b/app/constants.py @@ -15,7 +15,7 @@ 'languages.json', ] -OWNFOIL_DB = 'sqlite:////' + os.path.join(CONFIG_DIR, 'ownfoil.db') +OWNFOIL_DB = 'sqlite:///' + os.path.join(CONFIG_DIR, 'ownfoil.db') DEFAULT_SETTINGS = { "library": {