From 217d88913e77187c48e2e87abf7dcec45fd09f31 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 13 Jun 2014 07:53:53 +0200 Subject: Try to fix a problem on Heroku with the list of feeds (1). --- pyaggr3g470r/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index c8ed0b79..6f04e1cc 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -227,6 +227,7 @@ 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() -- cgit