#110 error in application pdf printing

This commit is contained in:
Oskar Hahn 2012-04-17 17:47:37 +02:00
parent 189cfa1309
commit a3d7cc98a9

View File

@ -442,7 +442,7 @@ class Application(models.Model, SlideMixin):
for poll in self.polls:
for option in poll.get_options():
if option.get_votes().exists():
results.append((option.yes, option.no, option.contained, poll.print_votesinvalid(), poll.print_votescast()))
results.append((option.Yes, option.No, option.Abstain, poll.print_votesinvalid(), poll.print_votescast()))
return results