From 702d5cfc6014620ca17dd41b3d24f7e40a39c6dd Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 22 Jan 2013 07:50:50 +0100 Subject: Bugfix: ensure that the 'mail' option value is an integer. --- source/conf.py | 4 ++-- 1 file 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') -- cgit