From 220cc4c4724b94a70e1c3fc8568b5e24b64d4692 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 3 Nov 2013 00:53:31 +0100 Subject: Minor bugfix --- pyaggr3g470r/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index d487c1ec..166c61e6 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -147,7 +147,7 @@ def articles(feed_id=None): user = models.User.objects(email=g.user.email, feeds__oid=feed_id).first() for feed in user.feeds: if str(feed.oid) == feed_id: - return render_template('articles.html', feed=user.feeds) + return render_template('articles.html', feed=feed) @app.route('/favorites/', methods=['GET']) @login_required -- cgit