summaryrefslogtreecommitdiffstats
path: root/views/pages.py
diff options
context:
space:
mode:
authorPierre-Yves Chibon <pingou@pingoured.fr>2012-04-11 21:50:31 +0200
committerPierre-Yves Chibon <pingou@pingoured.fr>2012-04-11 21:50:31 +0200
commita8312d2275e132d703776f9b61f8a2a120b93075 (patch)
tree25ead8fe256709511043f8ad00fbb445aeebcc14 /views/pages.py
parentacafdc28ea59196dbdfb69dacc29b0d440fa8de1 (diff)
downloadhyperkitty-a8312d2275e132d703776f9b61f8a2a120b93075.tar.gz
hyperkitty-a8312d2275e132d703776f9b61f8a2a120b93075.tar.xz
hyperkitty-a8312d2275e132d703776f9b61f8a2a120b93075.zip
Let's have a minimum information in there just to display the graph, even empty
Diffstat (limited to 'views/pages.py')
-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()