Skip to content

Commit

Permalink
Merge pull request #210 from 7hebel/main
Browse files Browse the repository at this point in the history
Fix the sql OperationalError bug
  • Loading branch information
kraanzu authored Nov 25, 2024
2 parents 7970550 + cba28cf commit 0e623cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dooit/api/_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

ROOT_FOLDER = Path(user_data_dir("dooit"))
DATABASE_FILE = ROOT_FOLDER / "dooit.db"
DATABASE_CONN_STRING = f"sqlite:////{DATABASE_FILE}"
DATABASE_CONN_STRING = f"sqlite:///{DATABASE_FILE}"

DATABASE_FILE.parent.mkdir(parents=True, exist_ok=True)

0 comments on commit 0e623cf

Please sign in to comment.