summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/Hold.py
diff options
context:
space:
mode:
authorbwarsaw2001-07-13 16:54:50 +0000
committerbwarsaw2001-07-13 16:54:50 +0000
commita41aa936b93b2187257d5096ebfa4b2eb13b9603 (patch)
tree9407aeb792b953afd7e4a2481baa875af07db33f /Mailman/Handlers/Hold.py
parentc1a3a4c03e6bee78e26c269796ea623026fed512 (diff)
downloadmailman-a41aa936b93b2187257d5096ebfa4b2eb13b9603.tar.gz
mailman-a41aa936b93b2187257d5096ebfa4b2eb13b9603.tar.zst
mailman-a41aa936b93b2187257d5096ebfa4b2eb13b9603.zip
Diffstat (limited to 'Mailman/Handlers/Hold.py')
-rw-r--r--Mailman/Handlers/Hold.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/Hold.py b/Mailman/Handlers/Hold.py
index 0e7860b78..70dda67a7 100644
--- a/Mailman/Handlers/Hold.py
+++ b/Mailman/Handlers/Hold.py
@@ -274,7 +274,7 @@ def hold_for_approval(mlist, msg, msgdata, exc):
subject = _('%(listname)s post from %(sender)s requires approval')
msg = Message.UserNotification(owneraddr, owneraddr, subject, text)
msg.addheader('Content-Type', 'text/plain',
- charset=Utils.GetCharSet(lang))
+ charset=Utils.GetCharSet(mlist.preferred_language))
msg.send(mlist, **{'tomoderators': 1})
finally:
i18n.set_translation(otranslation)