review fix

This commit is contained in:
Spitap
2022-11-03 10:54:06 +01:00
parent 5c9d5c9a03
commit 554611b366
6 changed files with 21 additions and 17 deletions

View File

@@ -172,9 +172,9 @@ def copy_from_template(template, dest, context):
def check_config_file(dest, interactive=False, upgrade=False, backup=False, restore=False):
"""Create a new installer config file if needed."""
isPresent = True
is_present = True
if os.path.exists(dest):
return isPresent
return is_present
if upgrade:
printcolor(
"You cannot upgrade an existing installation without a "