aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/feedgetter.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-13 10:19:10 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-13 10:19:10 +0200
commit4237b706d0eba5ee7a9da0e9fff8a50ebd438ca5 (patch)
treed2916562b5f1786d5ca2bdf95e89e25da65fe692 /pyaggr3g470r/feedgetter.py
parentImprovement for the /articles page. (diff)
downloadnewspipe-4237b706d0eba5ee7a9da0e9fff8a50ebd438ca5.tar.gz
newspipe-4237b706d0eba5ee7a9da0e9fff8a50ebd438ca5.tar.bz2
newspipe-4237b706d0eba5ee7a9da0e9fff8a50ebd438ca5.zip
No automatic indexation for the moment.
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