diff options
author | Botond Hende <nettingman@gmail.com> | 2024-08-30 20:25:37 +0200 |
---|---|---|
committer | Botond Hende <nettingman@gmail.com> | 2024-08-30 20:25:37 +0200 |
commit | a1de271e186a518932307bb7775f670d8ccd92f5 (patch) | |
tree | 20514cca8267d0d8bf0845b58e06b11b15d823fc /modules/database.py | |
parent | d41aa536f647726f3d58eb24ae16d5c75d278e0c (diff) |
changed import path to relative modul import paths
Diffstat (limited to 'modules/database.py')
-rw-r--r-- | modules/database.py | 2 |
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) |