diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2012-12-13 23:13:36 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2012-12-13 23:13:36 +0100 |
commit | 73099b55ed9e81543bcf4706ac088ec6afbab936 (patch) | |
tree | 8b624192a34e01af220bb6c71505a60d3e4e7835 /source | |
parent | Test if list of articles is not empty. (diff) | |
download | newspipe-73099b55ed9e81543bcf4706ac088ec6afbab936.tar.gz newspipe-73099b55ed9e81543bcf4706ac088ec6afbab936.tar.bz2 newspipe-73099b55ed9e81543bcf4706ac088ec6afbab936.zip |
float() now useless with Python3
Diffstat (limited to 'source')
-rw-r--r-- | source/templates/feed.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/templates/feed.html b/source/templates/feed.html index c5ca831c..a558a54b 100644 --- a/source/templates/feed.html +++ b/source/templates/feed.html @@ -5,7 +5,7 @@ import utils %> <div class="left inner"> <p>The feed <b>${feed['feed_title']}</b> contains <b>${nb_articles_feed}</b> articles. -Representing ${(round(float(nb_articles_feed) / nb_articles_total, 4)) * 100} percent of the total (${nb_articles_total}).</p> +Representing ${(round(nb_articles_feed / nb_articles_total, 4)) * 100} percent of the total (${nb_articles_total}).</p> %if articles: <p>${(nb_unread_articles_feed == 0 and ["All articles are read"] or [str(nb_unread_articles_feed) + " unread article" + (nb_unread_articles_feed == 1 and [""] or ["s"])[0]])[0]}.</p> |