aboutsummaryrefslogtreecommitdiff
path: root/source/feedgetter.py
diff options
context:
space:
mode:
Diffstat (limited to 'source/feedgetter.py')
-rwxr-xr-xsource/feedgetter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/feedgetter.py b/source/feedgetter.py
index 84dd2f47..bd35e345 100755
--- a/source/feedgetter.py
+++ b/source/feedgetter.py
@@ -155,7 +155,7 @@ class FeedGetter(object):
articles.append(article)
- if feed["mail"] and self.articles.get_articles(feed_id, article_id) == False:
+ if conf.MAIL_ENABLED and feed["mail"] and self.articles.get_articles(feed_id, article_id) == False:
# if subscribed to the feed AND if article not already in the database
threading.Thread(None, utils.send_mail, None, (conf.mail_from, conf.mail_to, \
a_feed.feed.title, \
bgstack15