aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-13 07:59:23 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-13 07:59:23 +0200
commitf0de1bb57549ee72cef037d2de309ee12848cad4 (patch)
tree31b0ce3d16198c8b1032459e0b82fe14d4a2356d /pyaggr3g470r/views.py
parentTry to fix a problem on Heroku with the list of feeds (1). (diff)
downloadnewspipe-f0de1bb57549ee72cef037d2de309ee12848cad4.tar.gz
newspipe-f0de1bb57549ee72cef037d2de309ee12848cad4.tar.bz2
newspipe-f0de1bb57549ee72cef037d2de309ee12848cad4.zip
revert last change
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r--pyaggr3g470r/views.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index 6f04e1cc..c8ed0b79 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -227,7 +227,6 @@ def home():
if limit != 'all':
limit = int(limit)
articles = articles.limit(limit)
- unread = []
unread = db.session.query(Article.feed_id, func.count(Article.id))\
.filter(Article.readed == False)\
.group_by(Article.feed_id).all()
bgstack15