From 8dd0b7d4975e9fdbc2f7ae50622072174441b4ed Mon Sep 17 00:00:00 2001 From: Spitap Date: Thu, 3 Nov 2022 10:57:03 +0100 Subject: [PATCH] Last camelCase --- modoboa_installer/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modoboa_installer/utils.py b/modoboa_installer/utils.py index 1a8f18d..cf19ff9 100644 --- a/modoboa_installer/utils.py +++ b/modoboa_installer/utils.py @@ -181,7 +181,7 @@ def check_config_file(dest, interactive=False, upgrade=False, backup=False, rest "configuration file.", RED) sys.exit(1) elif backup: - isPresent = False + is_present = False printcolor( "Your configuration file hasn't been found. A new one will be generated. " "Please edit it with correct password for the databases !", RED) @@ -195,7 +195,7 @@ def check_config_file(dest, interactive=False, upgrade=False, backup=False, rest "Configuration file {} not found, creating new one." .format(dest), YELLOW) gen_config(dest, interactive) - return isPresent + return is_present def has_colours(stream):