aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mailman/Message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Message.py b/Mailman/Message.py
index 4589b75a..6399a169 100644
--- a/Mailman/Message.py
+++ b/Mailman/Message.py
@@ -202,7 +202,7 @@ class Message(email.Message.Message):
# Check if charset is supported.
try:
unicode('x', charset)
- except (LookupError, ValueError):
+ except (LookupError, ValueError, TypeError):
return failobj
return charset