Always hide Group in Assignment PDF vote_results-table

This commit is contained in:
Norman Jäckel 2012-07-06 15:37:22 +02:00
parent e4367051df
commit e29cf868a5

View File

@ -380,7 +380,7 @@ class AssignmentPDF(PDFView):
if candidate in assignment.elected.all(): if candidate in assignment.elected.all():
row.append("* %s" % str(candidate).split('(',1)[0]) row.append("* %s" % str(candidate).split('(',1)[0])
else: else:
row.append(candidate) row.append(str(candidate).split('(',1)[0])
for poll_dict in poll_list: for poll_dict in poll_list:
if poll_dict['published']: if poll_dict['published']:
vote = poll_dict['votes'] vote = poll_dict['votes']