diff options
author | tkikuchi <> | 2004-10-14 08:05:06 +0000 |
---|---|---|
committer | tkikuchi <> | 2004-10-14 08:05:06 +0000 |
commit | 9bdb4029f331ea6230c668e408c2f694491ec6e4 (patch) | |
tree | 9c535e2969721c58494fe720bf98491c281e8934 /Mailman/Handlers/ToDigest.py | |
parent | d65a27a0dc0456e3939e2068e1866589e8a00f41 (diff) | |
download | mailman2-9bdb4029f331ea6230c668e408c2f694491ec6e4.tar.gz mailman2-9bdb4029f331ea6230c668e408c2f694491ec6e4.tar.xz mailman2-9bdb4029f331ea6230c668e408c2f694491ec6e4.zip |
fix bugs when using ARCHIVE_HTML_SANITIZER = 1
Diffstat (limited to '')
-rw-r--r-- | Mailman/Handlers/ToDigest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Handlers/ToDigest.py b/Mailman/Handlers/ToDigest.py index f350768e..2f64b369 100644 --- a/Mailman/Handlers/ToDigest.py +++ b/Mailman/Handlers/ToDigest.py @@ -314,7 +314,8 @@ def send_i18n_digests(mlist, mboxfp): uh = '\n\t'.join(uh.split('\n')) print >> plainmsg, uh print >> plainmsg - payload = msg.get_payload(decode=True) + payload = msg.get_payload(decode=True)\ + or msg.as_string().split('\n\n',1)[1] print >> plainmsg, payload if not payload.endswith('\n'): print >> plainmsg |