mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Updated for comments
This commit is contained in:
parent
512d0e4452
commit
25f59091e9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue