From 73099b55ed9e81543bcf4706ac088ec6afbab936 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 13 Dec 2012 23:13:36 +0100 Subject: float() now useless with Python3 --- source/templates/feed.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') 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 %>

The feed ${feed['feed_title']} contains ${nb_articles_feed} articles. -Representing ${(round(float(nb_articles_feed) / nb_articles_total, 4)) * 100} percent of the total (${nb_articles_total}).

+Representing ${(round(nb_articles_feed / nb_articles_total, 4)) * 100} percent of the total (${nb_articles_total}).

%if articles:

${(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]}.

-- cgit