mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-08 21:21:06 +00:00
Fix vars
This commit is contained in:
parent
332c649abd
commit
bf3a81a45b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue