Skip to content

Commit

Permalink
fixed sending email
Browse files Browse the repository at this point in the history
  • Loading branch information
benadida committed Sep 10, 2008
1 parent 22c6399 commit 62030fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/election.py
Expand Up @@ -491,7 +491,7 @@ def email_voters_2(self, election, introductory_message):
Your password: %s
-Helios
""" % ((config.webroot + '/elections/%s/vote')%election.election_id, election.get_hash(), voter.email, voter.password)
""" % ((config.webroot + '/elections/%s/vote')%election.election_id, election.toElection().get_hash(), voter.email, voter.password)

message = message_header + introductory_message + message_footer

Expand Down

0 comments on commit 62030fa

Please sign in to comment.