aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-02-05 22:21:51 +0100
committercedricbonhomme <devnull@localhost>2010-02-05 22:21:51 +0100
commit0dabeafcdfc7d8284e59f640040964027d0de91c (patch)
tree5975a86b99f420d3f069e156457e753a3dbfb5a9 /pyAggr3g470r.py
parentRelease 0.6. Filter unread articles. (diff)
downloadnewspipe-0dabeafcdfc7d8284e59f640040964027d0de91c.tar.gz
newspipe-0dabeafcdfc7d8284e59f640040964027d0de91c.tar.bz2
newspipe-0dabeafcdfc7d8284e59f640040964027d0de91c.zip
Bug fix. Really stupid error in the evaluation of numbers of articles by stream (in the right menu).
Diffstat (limited to 'pyAggr3g470r.py')
-rw-r--r--pyAggr3g470r.py2
1 files changed, 1 insertions, 1 deletions
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"]) \
)
bgstack15