From 0ff1fb2e21d7eb19ee3b8eb7697ecd41b8f89961 Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Tue, 5 Mar 2024 16:05:50 +0000 Subject: [PATCH] zulip_tools: Support non-lowercase true values. This matches the ruby implementation. --- scripts/lib/zulip_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/zulip_tools.py b/scripts/lib/zulip_tools.py index c5aff2c803..f884a56f91 100755 --- a/scripts/lib/zulip_tools.py +++ b/scripts/lib/zulip_tools.py @@ -600,7 +600,7 @@ def get_config_bool( if config_file.has_option(section, key): val = config_file.get(section, key) # This list is parallel to puppet/zulip/lib/puppet/functions/zulipconf.rb - return val in ["1", "y", "t", "true", "yes", "enable", "enabled"] + return val.lower() in ["1", "y", "t", "true", "yes", "enable", "enabled"] return default_value