mirror of https://github.com/zulip/zulip.git
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue