diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-22 07:50:50 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-22 07:50:50 +0100 |
commit | 702d5cfc6014620ca17dd41b3d24f7e40a39c6dd (patch) | |
tree | d544bb8c0a70c0fac734a6770a581c3e62a954b9 /source | |
parent | Added a new option to specify if e-mail notification is activated. (diff) | |
download | newspipe-702d5cfc6014620ca17dd41b3d24f7e40a39c6dd.tar.gz newspipe-702d5cfc6014620ca17dd41b3d24f7e40a39c6dd.tar.bz2 newspipe-702d5cfc6014620ca17dd41b3d24f7e40a39c6dd.zip |
Bugfix: ensure that the 'mail' option value is an integer.
Diffstat (limited to 'source')
-rw-r--r-- | source/conf.py | 4 |
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') |