aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Mailman/ListAdmin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/ListAdmin.py b/Mailman/ListAdmin.py
index 829ce29b..7548f4a9 100644
--- a/Mailman/ListAdmin.py
+++ b/Mailman/ListAdmin.py
@@ -337,8 +337,8 @@ class ListAdmin:
\tSubject: %(subject)s''' % {
'listname' : self.internal_name(),
'rejection': rejection,
- 'sender' : sender.replace('%', '%%'),
- 'subject' : subject.replace('%', '%%'),
+ 'sender' : str(sender).replace('%', '%%'),
+ 'subject' : str(subject).replace('%', '%%'),
}
if comment:
note += '\n\tReason: ' + comment.replace('%', '%%')