Updated for comments

This commit is contained in:
Dimitris Zlatanidis 2023-04-26 12:03:04 +03:00
parent 512d0e4452
commit 25f59091e9

View file

@ -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)