From 4a7bb16370478083ad7864baa67dbb9386aad542 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 23 May 2014 18:44:08 +0200 Subject: Test. --- pyaggr3g470r/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyaggr3g470r') diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index ed8d5fdd..32625068 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -212,9 +212,9 @@ def home(): """ The home page lists most recent articles of all feeds. """ - user = User.query.filter(User.email == g.user.email).first() + #user = User.query.filter(User.email == g.user.email).first() result, unread = [], {} - for feed in user.feeds: + for feed in g.feeds: new_feed = Feed() new_feed.id = feed.id new_feed.title = feed.title -- cgit