You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2021/03/29 13:10:39 UTC
[incubator-ponymail-foal] 02/19: enforce bool
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
commit fb41a3f702aa4bfa4d37ac403323638e9e9576ba
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Mar 28 22:58:46 2021 +0200
enforce bool
---
server/plugins/configuration.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/plugins/configuration.py b/server/plugins/configuration.py
index eda54f3..24f9bfb 100644
--- a/server/plugins/configuration.py
+++ b/server/plugins/configuration.py
@@ -30,7 +30,7 @@ class UIConfig:
# Default to spitting out traceback to web clients
# Set to false in yaml to redirect to stderr instead.
self.traceback = subyaml.get("traceback", True)
- self.mgmt_enabled = subyaml.get("mgmtconsole", False) # Whether to enable online mgmt component or not
+ self.mgmt_enabled = bool(subyaml.get("mgmtconsole", False)) # Whether to enable online mgmt component or not
class OAuthConfig: