Unverified Commit 48bb5fd6 authored by Isis Lovecruft's avatar Isis Lovecruft
Browse files

Fix an additional utf-8 encoding error for optional email headers.

parent 29bdc875
......@@ -323,7 +323,8 @@ class EmailResponse(object):
headerName = headerName.capitalize()
headerName = headerName.replace(' ', '-')
headerName = headerName.replace('_', '-')
self.write("%s: %s" % (headerName, headerValue))
header = "%s: %s" % (headerName, headerValue)
# The first blank line designates that the headers have ended:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment