aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/feedgetter.py
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-10-28 00:28:16 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-10-28 00:28:16 +0100
commite43cf71fe33e10ac590878dd3ca5c6ed234f5e95 (patch)
treeb6c959b3f7c97c684be512f35fcc4853e78a424b /pyaggr3g470r/feedgetter.py
parentSECRET_KEY is set by os.urandom(12). (diff)
downloadnewspipe-e43cf71fe33e10ac590878dd3ca5c6ed234f5e95.tar.gz
newspipe-e43cf71fe33e10ac590878dd3ca5c6ed234f5e95.tar.bz2
newspipe-e43cf71fe33e10ac590878dd3ca5c6ed234f5e95.zip
Sorting of articles seems to be working ;-)
Diffstat (limited to 'pyaggr3g470r/feedgetter.py')
-rw-r--r--pyaggr3g470r/feedgetter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/feedgetter.py b/pyaggr3g470r/feedgetter.py
index 998e768a..16571294 100644
--- a/pyaggr3g470r/feedgetter.py
+++ b/pyaggr3g470r/feedgetter.py
@@ -148,7 +148,7 @@ class FeedGetter(object):
article_title, description)).start()
"""
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)
feed.save()
bgstack15