fix yesnoababstain in views.py
This commit is contained in:
parent
4af19d091b
commit
a00fe2b241
@ -517,7 +517,7 @@ class AssignmentPollPDF(PDFView):
|
|||||||
ballot_papers_selection = config["assignment_pdf_ballot_papers_selection"]
|
ballot_papers_selection = config["assignment_pdf_ballot_papers_selection"]
|
||||||
ballot_papers_number = config["assignment_pdf_ballot_papers_number"]
|
ballot_papers_number = config["assignment_pdf_ballot_papers_number"]
|
||||||
# Choose kind of ballot paper
|
# Choose kind of ballot paper
|
||||||
if self.poll.yesnoababstain:
|
if self.poll.yesnoabstain:
|
||||||
for option in options:
|
for option in options:
|
||||||
o = str(option).split("(",1)
|
o = str(option).split("(",1)
|
||||||
cell.append(Paragraph(o[0], stylesheet['Ballot_option_name']))
|
cell.append(Paragraph(o[0], stylesheet['Ballot_option_name']))
|
||||||
|
Loading…
Reference in New Issue
Block a user