mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-07 08:46:21 +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 = ''
|
proxy_password: str = ''
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
# Load user configuration.
|
||||||
config_path_file = Path(etc_path, f'{prog_name}.toml')
|
config_path_file = Path(etc_path, f'{prog_name}.toml')
|
||||||
|
|
||||||
if config_path_file.exists():
|
if config_path_file.exists():
|
||||||
with open(config_path_file, 'rb') as conf:
|
with open(config_path_file, 'rb') as conf:
|
||||||
configs = tomli.load(conf)
|
configs = tomli.load(conf)
|
||||||
|
|
Loading…
Add table
Reference in a new issue