summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/ToDigest.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Handlers/ToDigest.py')
-rw-r--r--Mailman/Handlers/ToDigest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/ToDigest.py b/Mailman/Handlers/ToDigest.py
index 49aafa5d5..790900516 100644
--- a/Mailman/Handlers/ToDigest.py
+++ b/Mailman/Handlers/ToDigest.py
@@ -369,7 +369,7 @@ def send_i18n_digests(mlist, mboxfp):
def oneline(s, cset):
# Decode header string in one line and convert into specified charset
try:
- h = decode_header(make_header(s))
+ h = make_header(decode_header(s))
ustr = h.__unicode__()
oneline = UEMPTYSTRING.join(ustr.splitlines())
return oneline.encode(cset, 'replace')