Skip to content

Commit

Permalink
Add Unicode kludge on email
Browse files Browse the repository at this point in the history
  • Loading branch information
erinzm committed Jul 18, 2014
1 parent 1fc179e commit 2a89988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def pledge_helper(handler, data, stripe_customer_id, stripe_charge_id, paypal_pa
html_body = text_template.render(**format_kwargs)


env.mail_sender.Send(to=data['email'].encode('utf-8'),
env.mail_sender.Send(to=data['email'].encode('utf-8').decode('utf-8'),
subject='Thank you for your pledge',
text_body=text_body,
html_body=html_body)
Expand Down

0 comments on commit 2a89988

Please sign in to comment.