summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/pages.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/pages.py b/views/pages.py
index d7ef140..e1a082d 100644
--- a/views/pages.py
+++ b/views/pages.py
@@ -176,6 +176,8 @@ def list(request, mlist_fqdn=None):
days = dates.keys()
days.sort()
evolution = [dates[key] for key in days]
+ if not evolution:
+ evolution.append(0)
# threads per category is the top thread titles in each category
threads_per_category = generate_thread_per_category()