From aadd37e2489e5b0aa2f8eead80a00b62dcfe1d0e Mon Sep 17 00:00:00 2001 From: KiekerJan Date: Mon, 10 May 2021 09:42:03 +0200 Subject: [PATCH] correct python spacing, sigh --- management/status_checks.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/management/status_checks.py b/management/status_checks.py index e73b0d17..a4e5c55e 100755 --- a/management/status_checks.py +++ b/management/status_checks.py @@ -860,8 +860,11 @@ def check_miab_version(env, output): output.print_warning("You are running version Mail-in-a-Box %s Kiekerjan Edition. Mail-in-a-Box version check disabled by privacy setting." % this_ver) else: latest_ver = get_latest_miab_version() - if this_ver[-3:] == "-kj" - this_ver_tag = this_ver[:-3] + + if this_ver[-3:] == "-kj": + this_ver_tag = this_ver[:-3] + else: + this_ver_tag = this_ver if this_ver_tag == latest_ver: output.print_ok("Mail-in-a-Box is up to date. You are running version %s Kiekerjan Edition." % this_ver)