refactor(ConfigManager): allow to take in any config file

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
dw-0
2023-12-03 23:10:43 +01:00
parent 57f34b07c6
commit de20f0c412
3 changed files with 7 additions and 16 deletions

View File

@@ -9,6 +9,7 @@
# This file may be distributed under the terms of the GNU GPLv3 license #
# ======================================================================= #
from os.path import dirname, abspath
from os.path import join, dirname, abspath
APPLICATION_ROOT = dirname(dirname(abspath(__file__)))
KIAUH_CFG = join(APPLICATION_ROOT, "kiauh.cfg")