aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-23 18:44:08 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-23 18:44:08 +0200
commit4a7bb16370478083ad7864baa67dbb9386aad542 (patch)
tree8d75f0ea2b62b7f99405d956ffb4752be02304d3
parentFeeds with unread articles are displayed before. (diff)
downloadnewspipe-4a7bb16370478083ad7864baa67dbb9386aad542.tar.gz
newspipe-4a7bb16370478083ad7864baa67dbb9386aad542.tar.bz2
newspipe-4a7bb16370478083ad7864baa67dbb9386aad542.zip
Test.
-rw-r--r--pyaggr3g470r/views.py4
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
bgstack15