From 4237b706d0eba5ee7a9da0e9fff8a50ebd438ca5 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 13 Apr 2014 10:19:10 +0200 Subject: No automatic indexation for the moment. --- pyaggr3g470r/feedgetter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- cgit