Removed option.

see #554
This commit is contained in:
Antoine Nguyen
2024-05-16 14:21:54 +02:00
parent 271add9b6e
commit 917bd7382b
4 changed files with 3 additions and 11 deletions

4
run.py
View File

@@ -223,11 +223,11 @@ def main(input_args):
if is_config_file_available and outdate_config:
answer = utils.user_input("It seems that your config file is outdated. "
"Would you like to update it? (Y/n) ")
if answer.lower().startswith("y"):
if not answer or answer.lower().startswith("y"):
config_file_update_complete(utils.update_config(args.configfile))
if not args.stop_after_configfile_check:
answer = utils.user_input("Would you like to stop to review the updated config? (Y/n)")
if answer.lower().startswith("y"):
if not answer or answer.lower().startswith("y"):
return
else:
utils.error("You might encounter unexpected errors ! "