diff --git a/src/definitions.py b/src/definitions.py index 9972e13..51654e1 100644 --- a/src/definitions.py +++ b/src/definitions.py @@ -2,6 +2,6 @@ import os SRC_DIR = os.path.dirname(os.path.abspath(__file__)) ROOT_DIR = os.path.dirname(SRC_DIR) -CONFIG_FILE = os.path.join(ROOT_DIR, 'config', 'conf.json') +CONFIG_FILE = os.path.join(ROOT_DIR, 'config', 'conf.yml') LOGGING_DIR = os.path.join(ROOT_DIR, 'logs') DATABASE_DIR = os.path.join(ROOT_DIR, 'database') diff --git a/src/main.py b/src/main.py index 124c7d6..817dac4 100644 --- a/src/main.py +++ b/src/main.py @@ -79,7 +79,7 @@ def setup_logging_from_config(conf: dict): def get_config(filepath): with open(filepath, 'r') as cfile: - config = yaml.load(cfile, Loader=yaml.FullLoader) + config = yaml.load(cfile, Loader=yaml.Loader) return config