#110 error in application pdf printing
This commit is contained in:
parent
189cfa1309
commit
a3d7cc98a9
|
@ -442,7 +442,7 @@ class Application(models.Model, SlideMixin):
|
||||||
for poll in self.polls:
|
for poll in self.polls:
|
||||||
for option in poll.get_options():
|
for option in poll.get_options():
|
||||||
if option.get_votes().exists():
|
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
|
return results
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue