Fixed: Show "undocumented" for -2 in application pdf.

This commit is contained in:
Emanuel Schuetze 2011-09-21 21:28:01 +02:00
parent 6c008488cf
commit bfadbce541

View File

@ -416,7 +416,7 @@ class Application(models.Model):
for poll in self.poll_set.all(): for poll in self.poll_set.all():
for option in poll.options: for option in poll.options:
if poll.votesinvalid != None and poll.votescast != None: if poll.votesinvalid != None and poll.votescast != None:
results.append([option.yes, option.no, option.undesided, poll.votesinvalid, poll.votescast]) results.append([option.yes, option.no, option.undesided, poll.votesinvalidf, poll.votescastf])
return results return results
@models.permalink @models.permalink