diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2012-11-28 08:08:00 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2012-11-28 08:08:00 +0100 |
commit | c7faa0dcb24e5285e309e208d93b453d232d9c4d (patch) | |
tree | 338f9c6135fab4c0fade70d78aa595aa750fa3e3 /source/pyAggr3g470r.py | |
parent | Some improvements to the CSS. (diff) | |
download | newspipe-c7faa0dcb24e5285e309e208d93b453d232d9c4d.tar.gz newspipe-c7faa0dcb24e5285e309e208d93b453d232d9c4d.tar.bz2 newspipe-c7faa0dcb24e5285e309e208d93b453d232d9c4d.zip |
Fix: number of feeds wan no longer displayed in the navigation bar.
Diffstat (limited to 'source/pyAggr3g470r.py')
-rwxr-xr-x | source/pyAggr3g470r.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py index f967fced..5d9fc2f3 100755 --- a/source/pyAggr3g470r.py +++ b/source/pyAggr3g470r.py @@ -149,8 +149,8 @@ class pyAggr3g470r(object): [""])[0]) tmpl = lookup.get_template("index.html") - return tmpl.render(feeds=feeds, mongo=self.mongo, nb_favorites=nb_favorites, \ - nb_unread_articles=nb_unread_articles, \ + return tmpl.render(feeds=feeds, nb_feeds=len(feeds), mongo=self.mongo, \ + nb_favorites=nb_favorites, nb_unread_articles=nb_unread_articles, \ nb_mail_notifications=nb_mail_notifications) index.exposed = True |