aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2013-12-30 09:30:58 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2013-12-30 09:30:58 +0100
commit3d5dad95d7e8246dd8c1477b38b55915de1709b6 (patch)
tree74763d6c638fc6897bc7f1d46ebc21b144606251 /pyaggr3g470r
parentTest without sorting articles. (diff)
downloadnewspipe-3d5dad95d7e8246dd8c1477b38b55915de1709b6.tar.gz
newspipe-3d5dad95d7e8246dd8c1477b38b55915de1709b6.tar.bz2
newspipe-3d5dad95d7e8246dd8c1477b38b55915de1709b6.zip
sorting by date all articles for each feed.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/feedgetter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/feedgetter.py b/pyaggr3g470r/feedgetter.py
index 65d462da..71e5b0a8 100644
--- a/pyaggr3g470r/feedgetter.py
+++ b/pyaggr3g470r/feedgetter.py
@@ -161,7 +161,7 @@ class FeedGetter(object):
# add the articles to the list of articles for the current feed
feed.articles.extend(articles)
- #feed.articles = sorted(feed.articles, key=lambda t: t.date, reverse=True)
+ feed.articles = sorted(feed.articles, key=lambda t: t.date, reverse=True)
self.user.save()
bgstack15