From a6f1a0e7bd88b42d285d35394a198c218cd4a64d Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Mon, 5 Mar 2012 23:55:06 +0100 Subject: search function: work in progress... --- pyAggr3g470r.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index aba44f49..feb57881 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -372,9 +372,10 @@ class Root: (feed_id, article.article_id, article.article_title) + \ not_read_end + """
\n""" else: + articles = self.mongo.get_all_articles() for feed in self.feeds.values(): new_feed_section = True - for article in feed.articles.values(): + for article in articles: article_content = utils.clear_string(article.article_description) if not article_content: utils.clear_string(article.article_title) -- cgit