Show min. 1 application ballot.
This commit is contained in:
parent
4ecff16aba
commit
f393789f2d
@ -743,6 +743,8 @@ class ApplicationPollPDF(PDFView):
|
|||||||
number = int(User.objects.count() - 1)
|
number = int(User.objects.count() - 1)
|
||||||
if ballot_papers_selection == "0":
|
if ballot_papers_selection == "0":
|
||||||
number = int(ballot_papers_number)
|
number = int(ballot_papers_number)
|
||||||
|
if number == 0:
|
||||||
|
number = 1
|
||||||
# print ballot papers
|
# print ballot papers
|
||||||
if number > 0:
|
if number > 0:
|
||||||
for user in xrange(number/2):
|
for user in xrange(number/2):
|
||||||
|
Loading…
Reference in New Issue
Block a user