From 190bf89337ec93b6325e91c3165b1a3d5c37d6a1 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Fri, 12 Jul 2013 13:07:19 +0200 Subject: Documentation and a small fix --- hyperkitty/views/list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hyperkitty/views/list.py') diff --git a/hyperkitty/views/list.py b/hyperkitty/views/list.py index 510d53b..e6069f8 100644 --- a/hyperkitty/views/list.py +++ b/hyperkitty/views/list.py @@ -233,7 +233,7 @@ def overview(request, mlist_fqdn=None): for thread in active_threads: if not thread.category: continue - if len(threads_by_category.setdefault(thread.category, [])) > 5: + if len(threads_by_category.setdefault(thread.category, [])) >= 5: continue threads_by_category[thread.category].append(thread) -- cgit