From 1cbc30e0d509569d79e780ac7d94787949cb32dd Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 14 Jan 2024 17:08:24 +0100 Subject: [PATCH] So the reason the 'enable pop3' thing is not working properly is because the config panel was spitting inconsistent boolean shit like 1, True or 'yes' depending on whatever... --- src/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/settings.py b/src/settings.py index 87234bf02..f858e7e80 100644 --- a/src/settings.py +++ b/src/settings.py @@ -372,7 +372,8 @@ def reconfigure_dovecot(setting_name, old_value, new_value): environment = os.environ.copy() environment.update({"DEBIAN_FRONTEND": "noninteractive"}) - if new_value is True: + # Depending on how consistent the config panel is, it may spit 1 or True or ..? ... + if new_value: command = [ "apt-get", "-y",