summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/Handlers/MimeDel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/MimeDel.py b/Mailman/Handlers/MimeDel.py
index 18467adfc..5c5725a49 100644
--- a/Mailman/Handlers/MimeDel.py
+++ b/Mailman/Handlers/MimeDel.py
@@ -72,7 +72,7 @@ def process(mlist, msg, msgdata):
# and then copy over its Content-Type: and Content-Transfer-Encoding:
# headers (any others?).
collapse_multipart_alternatives(msg)
- if mtype == 'multipart/alternative':
+ if ctype == 'multipart/alternative':
firstalt = msg.get_payload(0)
reset_payload(msg, firstalt)
# If we removed some parts, make note of this