tests: fixed config maker
This commit is contained in:
parent
91a731620e
commit
8f63e50f3a
1 changed files with 4 additions and 0 deletions
|
|
@ -35,6 +35,10 @@ def initialize_ini_config_default_values_if_not_present(ini_path: str):
|
|||
with open(ini_path, "w") as configfile:
|
||||
updater.write(configfile)
|
||||
|
||||
if not ini_path or not os.path.exists(ini_path):
|
||||
log.warning("Config file %s not found.", ini_path)
|
||||
return
|
||||
|
||||
updater = ConfigUpdater()
|
||||
updater.read(ini_path)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue