aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-11-03 00:53:31 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-11-03 00:53:31 +0100
commit220cc4c4724b94a70e1c3fc8568b5e24b64d4692 (patch)
tree18d3f9f72fe03d17397903d0bcbc39f48b8bb658
parentPage for favorites articles. (diff)
downloadnewspipe-220cc4c4724b94a70e1c3fc8568b5e24b64d4692.tar.gz
newspipe-220cc4c4724b94a70e1c3fc8568b5e24b64d4692.tar.bz2
newspipe-220cc4c4724b94a70e1c3fc8568b5e24b64d4692.zip
Minor bugfix
-rw-r--r--pyaggr3g470r/views.py2
1 files changed, 1 insertions, 1 deletions
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
bgstack15