From a00fe2b241fad5a0348fc8a80777385e2f5637b8 Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Thu, 28 Jun 2012 22:49:02 +0200 Subject: [PATCH] fix yesnoababstain in views.py --- openslides/assignment/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openslides/assignment/views.py b/openslides/assignment/views.py index c6d71f8c4..17ea40838 100644 --- a/openslides/assignment/views.py +++ b/openslides/assignment/views.py @@ -517,7 +517,7 @@ class AssignmentPollPDF(PDFView): ballot_papers_selection = config["assignment_pdf_ballot_papers_selection"] ballot_papers_number = config["assignment_pdf_ballot_papers_number"] # Choose kind of ballot paper - if self.poll.yesnoababstain: + if self.poll.yesnoabstain: for option in options: o = str(option).split("(",1) cell.append(Paragraph(o[0], stylesheet['Ballot_option_name'])) @@ -575,7 +575,7 @@ class AssignmentPollPDF(PDFView): t=Table(data, 10.5*cm, 14.84*cm) else: t=Table(data, 10.5*cm, 29.7*cm) - + t.setStyle(TableStyle([ ('GRID', (0,0), (-1,-1), 0.25, colors.grey), ('VALIGN', (0,0), (-1,-1), 'TOP'), ]))