mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
committed by
Tim Abbott
parent
e0cf82a526
commit
3905416a0e
@@ -599,7 +599,7 @@ def get_config_bool(
|
||||
) -> bool:
|
||||
if config_file.has_option(section, key):
|
||||
val = config_file.get(section, key)
|
||||
# This list is parallel to puppet/zulip/lib/puppet/parser/functions/zulipconf.rb
|
||||
# This list is parallel to puppet/zulip/lib/puppet/functions/zulipconf.rb
|
||||
return val in ["1", "y", "t", "true", "yes", "enable", "enabled"]
|
||||
return default_value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user