mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Fixed: pylint error: E0606
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
fc934a0b37
commit
61c4977915
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ class Configs: # pylint: disable=[R0902]
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Load user configuration.
|
# Load user configuration.
|
||||||
|
configs = {}
|
||||||
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:
|
||||||
|
|
Loading…
Reference in a new issue