diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-21 23:24:07 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-21 23:24:07 +0100 |
commit | 53918bd9c3f4b8c5946ba7aea8fe16c7ab9844d9 (patch) | |
tree | 606a69cf70e71837b874fa954e32be0e2fe5c382 /source/conf.py | |
parent | Test if the article is present in the database before sending it via mail. (diff) | |
download | newspipe-53918bd9c3f4b8c5946ba7aea8fe16c7ab9844d9.tar.gz newspipe-53918bd9c3f4b8c5946ba7aea8fe16c7ab9844d9.tar.bz2 newspipe-53918bd9c3f4b8c5946ba7aea8fe16c7ab9844d9.zip |
Added a new option to specify if e-mail notification is activated.
Diffstat (limited to 'source/conf.py')
-rw-r--r-- | source/conf.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/conf.py b/source/conf.py index e89f0090..18ff0259 100644 --- a/source/conf.py +++ b/source/conf.py @@ -43,6 +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_from = config.get('mail','mail_from') mail_to = config.get('mail','mail_to') smtp_server = config.get('mail','smtp') |