aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/feedgetter.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/feedgetter.py')
-rw-r--r--pyaggr3g470r/feedgetter.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyaggr3g470r/feedgetter.py b/pyaggr3g470r/feedgetter.py
index 5f8aa9f7..ccdc60f2 100644
--- a/pyaggr3g470r/feedgetter.py
+++ b/pyaggr3g470r/feedgetter.py
@@ -173,12 +173,13 @@ class FeedGetter(object):
articles.append(article)
# add the article to the Whoosh index only if we are not on Heroku
+ """
if not conf.ON_HEROKU:
try:
search.add_to_index([article], feed)
except Exception as e:
pyaggr3g470r_log.error("Whoosh error.")
- pass
+ pass"""
# email notification
if conf.MAIL_ENABLED and feed.email_notification:
bgstack15