Show min. 1 application ballot.

This commit is contained in:
Emanuel Schuetze 2012-04-20 13:41:09 +02:00
parent 4ecff16aba
commit f393789f2d
1 changed files with 2 additions and 0 deletions

View File

@ -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):