From a1de271e186a518932307bb7775f670d8ccd92f5 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Fri, 30 Aug 2024 20:25:37 +0200 Subject: changed import path to relative modul import paths --- modules/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/database.py') 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) -- cgit v1.2.3-70-g09d2