Updated configs

This commit is contained in:
Dimitris Zlatanidis 2022-06-24 19:27:59 +03:00
parent d88a7ff8e4
commit bd699df5ab

View file

@ -50,9 +50,7 @@ class Configs:
''' Overwrite with user configuration. '''
config_file: str = f'{etc_path}/{prog_name}.yaml'
if os.path.isfile(config_file):
with open(config_file, 'r') as conf:
configs = yaml.safe_load(conf)