summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-08-30 20:25:37 +0200
committerBotond Hende <nettingman@gmail.com>2024-08-30 20:25:37 +0200
commita1de271e186a518932307bb7775f670d8ccd92f5 (patch)
tree20514cca8267d0d8bf0845b58e06b11b15d823fc /modules
parentd41aa536f647726f3d58eb24ae16d5c75d278e0c (diff)
changed import path to relative modul import paths
Diffstat (limited to 'modules')
-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)