From 3e2df796e230aa67371594cddd699a4e67ecd0e9 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 30 Nov 2012 17:42:06 +0100 Subject: Code factorization. --- source/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/templates/index.html') diff --git a/source/templates/index.html b/source/templates/index.html index 69d124a2..e850ece9 100644 --- a/source/templates/index.html +++ b/source/templates/index.html @@ -57,7 +57,7 @@ import utils feed["feed_link"], feed["feed_image"]) # The main page display only 10 articles by feeds. - for article in mongo.get_articles_from_collection(feed["feed_id"], limit=10): + for article in mongo.get_articles(feed["feed_id"], limit=10): if article["article_readed"] == False: # not readed articles are in bold not_read_begin, not_read_end = "", "" -- cgit