diff options
-rw-r--r-- | pyaggr3g470r/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |