diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2012-11-30 17:42:06 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2012-11-30 17:42:06 +0100 |
commit | 3e2df796e230aa67371594cddd699a4e67ecd0e9 (patch) | |
tree | 32f25d944168966429e01420038d14d30b6f1f31 /source/templates/index.html | |
parent | List of favorites articles is now always sorted by date. (diff) | |
download | newspipe-3e2df796e230aa67371594cddd699a4e67ecd0e9.tar.gz newspipe-3e2df796e230aa67371594cddd699a4e67ecd0e9.tar.bz2 newspipe-3e2df796e230aa67371594cddd699a4e67ecd0e9.zip |
Code factorization.
Diffstat (limited to 'source/templates/index.html')
-rw-r--r-- | source/templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 = "<b>", "</b>" |