1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +00:00
This commit is contained in:
Mo 2022-08-18 04:11:22 +02:00
parent 332c649abd
commit bf3a81a45b

View file

@ -34,14 +34,14 @@ def load_config(file_name: str, data_dir: Path):
def get_secrets(data_dir: Path): def get_secrets(data_dir: Path):
config = load_config("secrets.ini", data_dir) config = load_config("secrets.ini", data_dir)
secrets = settings_config["Secrets"] secrets = config["Secrets"]
return secrets return secrets
def get_settings(data_dir: Path): def get_settings(data_dir: Path):
config = load_config("settings.ini", data_dir) config = load_config("settings.ini", data_dir)
settings = settings_config["Settings"] settings = config["Settings"]
return settings return settings