From fdcfba61c165f8c9f28517405281dd10295895d8 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Tue, 28 Feb 2023 13:49:21 +0200 Subject: [PATCH] Set for capital --- configs/slpkg.toml | 2 +- slpkg/configs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/slpkg.toml b/configs/slpkg.toml index 1e121d20..7a2edbf0 100644 --- a/configs/slpkg.toml +++ b/configs/slpkg.toml @@ -1,4 +1,4 @@ -[configs] +[CONFIGS] # OS architecture by default. OS_ARCH = "x86_64" diff --git a/slpkg/configs.py b/slpkg/configs.py index 45b30aca..df3f3395 100644 --- a/slpkg/configs.py +++ b/slpkg/configs.py @@ -88,7 +88,7 @@ class Configs: # Load configurations from the file. load = LoadConfigs() configs = load.file(etc_path, prog_name) - config = configs['configs'] + config = configs['CONFIGS'] if config: try: