aboutsummaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/db')
-rw-r--r--src/db/init.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/init.py b/src/db/init.py
index 83e73f2..8fb7098 100644
--- a/src/db/init.py
+++ b/src/db/init.py
@@ -4,7 +4,7 @@ import time
def init(path):
is_db_new = not os.path.isfile(path)
- database = sqlite3.connect('database')
+ database = sqlite3.connect(path)
if is_db_new:
database.cursor().execute(
" CREATE TABLE IF NOT EXISTS tasks("