diff --git a/slpkg/configs.py b/slpkg/configs.py index e7f7c06c..d7f2df24 100644 --- a/slpkg/configs.py +++ b/slpkg/configs.py @@ -53,8 +53,8 @@ class Configs: proxy_password: str = '' try: + # Load user configuration. config_path_file = Path(etc_path, f'{prog_name}.toml') - if config_path_file.exists(): with open(config_path_file, 'rb') as conf: configs = tomli.load(conf)