diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-13 10:19:10 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-13 10:19:10 +0200 |
commit | 4237b706d0eba5ee7a9da0e9fff8a50ebd438ca5 (patch) | |
tree | d2916562b5f1786d5ca2bdf95e89e25da65fe692 /pyaggr3g470r/feedgetter.py | |
parent | Improvement for the /articles page. (diff) | |
download | newspipe-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.py | 3 |
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: |