Better test

This commit is contained in:
Spitap
2023-03-13 14:59:30 +01:00
parent 85652320b6
commit 602405833c
2 changed files with 14 additions and 6 deletions

7
run.py
View File

@@ -203,9 +203,10 @@ def main(input_args):
"Would you like to update it? (Y/n) ")
if answer.lower().startswith("y"):
config_file_update_complete(utils.update_config(args.configfile))
answer = utils.user_input("Would you like to stop to review the updated config? (Y/n)")
if answer.lower().startswith("y"):
return
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"):
return
else:
utils.error("You might encounter unexpected errors ! "
"Make sur to update your config before opening an issue!")