Fixed: pylint error: E0606

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2024-05-18 21:10:52 +03:00
parent fc934a0b37
commit 61c4977915

View file

@ -71,6 +71,7 @@ class Configs: # pylint: disable=[R0902]
try:
# Load user configuration.
configs = {}
config_path_file = Path(etc_path, f'{prog_name}.toml')
if config_path_file.exists():
with open(config_path_file, 'rb') as conf: