diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-23 18:44:08 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-23 18:44:08 +0200 |
commit | 4a7bb16370478083ad7864baa67dbb9386aad542 (patch) | |
tree | 8d75f0ea2b62b7f99405d956ffb4752be02304d3 /pyaggr3g470r | |
parent | Feeds with unread articles are displayed before. (diff) | |
download | newspipe-4a7bb16370478083ad7864baa67dbb9386aad542.tar.gz newspipe-4a7bb16370478083ad7864baa67dbb9386aad542.tar.bz2 newspipe-4a7bb16370478083ad7864baa67dbb9386aad542.zip |
Test.
Diffstat (limited to 'pyaggr3g470r')
-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 |