summaryrefslogtreecommitdiff
path: root/modules/database.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/database.py')
-rw-r--r--modules/database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/database.py b/modules/database.py
index 9a7131c..577612c 100644
--- a/modules/database.py
+++ b/modules/database.py
@@ -1,7 +1,7 @@
import os.path
import sqlite3
from pathlib import Path
-from config import Config
+from ..config import Config
db_dir = os.path.dirname(Config.DATABASE_PATH)
Path(db_dir).mkdir(parents=True, exist_ok=True)