diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-10-14 22:55:41 +0200 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-10-14 22:55:41 +0200 |
commit | 85c2fd4cbcbe40ddac8b99d26a01c948b8aca8ea (patch) | |
tree | d7c0bda7de71b475e87863a5d964d3e42c9ef093 /pyaggr3g470r/feedgetter.py | |
parent | Still trying to sort those f* articles. (diff) | |
download | newspipe-85c2fd4cbcbe40ddac8b99d26a01c948b8aca8ea.tar.gz newspipe-85c2fd4cbcbe40ddac8b99d26a01c948b8aca8ea.tar.bz2 newspipe-85c2fd4cbcbe40ddac8b99d26a01c948b8aca8ea.zip |
reverse sorted list
Diffstat (limited to 'pyaggr3g470r/feedgetter.py')
-rw-r--r-- | pyaggr3g470r/feedgetter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/feedgetter.py b/pyaggr3g470r/feedgetter.py index be942a2c..ad4d8df6 100644 --- a/pyaggr3g470r/feedgetter.py +++ b/pyaggr3g470r/feedgetter.py @@ -149,7 +149,7 @@ class FeedGetter(object): article_title, description)).start() """ feed.articles.extend(articles) - feed.articles = sorted(feed.articles, key=lambda t: t.date, reverse=False) + feed.articles = sorted(feed.articles, key=lambda t: t.date, reverse=True) feed.save() |