aboutsummaryrefslogtreecommitdiff
path: root/source/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'source/conf.py')
-rw-r--r--source/conf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/conf.py b/source/conf.py
index 18ff0259..0dc42170 100644
--- a/source/conf.py
+++ b/source/conf.py
@@ -43,7 +43,7 @@ MONGODB_DBNAME = config.get('MongoDB', 'dbname')
MONGODB_USER = config.get('MongoDB', 'user')
MONGODB_PASSWORD = config.get('MongoDB', 'password')
-MAIL_ENABLED = bool(config.get('mail','enabled'))
+MAIL_ENABLED = bool(int(config.get('mail','enabled')))
mail_from = config.get('mail','mail_from')
mail_to = config.get('mail','mail_to')
smtp_server = config.get('mail','smtp')
@@ -51,4 +51,4 @@ username = config.get('mail','username')
password = config.get('mail','password')
DIASPORA_POD = config.get('misc', 'diaspora_pod')
-FEED_LIST = config.get('misc', 'feed_list') \ No newline at end of file
+FEED_LIST = config.get('misc', 'feed_list')
bgstack15