Skip to content

Commit 4462ef3

Browse files
committed
Revert that last attempt to fix. Breaks things worse. Reopened
https://issues.roundup-tracker.org/issue2551049.
1 parent 66bc2db commit 4462ef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/mailer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def nice_sender_header(name, address, charset):
3535
if not name:
3636
return address
3737
try:
38-
encname = b2s(name).encode('ASCII')
38+
encname = b2s(name.encode('ASCII'))
3939
except UnicodeEncodeError:
4040
# use Header to encode correctly.
4141
encname = Header(name, charset=charset).encode()

0 commit comments

Comments
 (0)