From 0dabeafcdfc7d8284e59f640040964027d0de91c Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Fri, 5 Feb 2010 22:21:51 +0100 Subject: Bug fix. Really stupid error in the evaluation of numbers of articles by stream (in the right menu). --- pyAggr3g470r.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index ca5b9f80..ff43f1b7 100644 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -238,7 +238,7 @@ class Root: dic[feeds].sort(lambda x,y: compare(y[1], x[1])) for rss_feed_id in dic.keys(): - dic_info[rss_feed_id] = (len(dic.keys()), \ + dic_info[rss_feed_id] = (len(dic[rss_feed_id]), \ len([article for article in dic[rss_feed_id] \ if article[7]=="0"]) \ ) -- cgit