summaryrefslogtreecommitdiffstats
path: root/hyperkitty
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-07-12 13:07:19 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-07-12 13:07:19 +0200
commit190bf89337ec93b6325e91c3165b1a3d5c37d6a1 (patch)
tree094249856c285571140c589009bfa01fd6243064 /hyperkitty
parentd458fb6dcdf464488e008c6eff316a5bcfc077b6 (diff)
downloadhyperkitty-190bf89337ec93b6325e91c3165b1a3d5c37d6a1.tar.gz
hyperkitty-190bf89337ec93b6325e91c3165b1a3d5c37d6a1.tar.xz
hyperkitty-190bf89337ec93b6325e91c3165b1a3d5c37d6a1.zip
Documentation and a small fix
Diffstat (limited to 'hyperkitty')
-rw-r--r--hyperkitty/views/list.py2
1 files changed, 1 insertions, 1 deletions
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)