aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-10-14 22:44:07 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-10-14 22:44:07 +0200
commit31788558cfad8e6c74381bc9ed9b7530c9636c25 (patch)
tree9fa259a79aa7683fc1218155ef862896b5984a05 /pyaggr3g470r/views.py
parentUpdated default conf file. (diff)
downloadnewspipe-31788558cfad8e6c74381bc9ed9b7530c9636c25.tar.gz
newspipe-31788558cfad8e6c74381bc9ed9b7530c9636c25.tar.bz2
newspipe-31788558cfad8e6c74381bc9ed9b7530c9636c25.zip
Still trying to sort those f* articles.
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r--pyaggr3g470r/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index fa67393a..3736210a 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -59,7 +59,7 @@ def delete(article_id=None):
@app.route('/articles/<feed_id>', methods=['GET'])
def articles(feed_id=None):
feed = models.Feed.objects(id=feed_id).first()
- #feed.articles = sorted(feed.articles, key=lambda t: t.date, reverse=True)
+ #feed.articles = sorted(feed.articles, key=lambda t: t.date, reverse=False)
#feed.save()
return render_template('articles.html', feed=feed)
bgstack15