From f393789f2d3d951c4bbf3173ccb4cc9f9ed79469 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Fri, 20 Apr 2012 13:41:09 +0200 Subject: [PATCH] Show min. 1 application ballot. --- openslides/application/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openslides/application/views.py b/openslides/application/views.py index a15e46824..cdf1aa1c6 100644 --- a/openslides/application/views.py +++ b/openslides/application/views.py @@ -743,6 +743,8 @@ class ApplicationPollPDF(PDFView): number = int(User.objects.count() - 1) if ballot_papers_selection == "0": number = int(ballot_papers_number) + if number == 0: + number = 1 # print ballot papers if number > 0: for user in xrange(number/2):