From 416398f3018086fccaa6035cb47a29e8782af4dc Mon Sep 17 00:00:00 2001 From: tkikuchi <> Date: Sat, 16 Jul 2005 01:13:30 +0000 Subject: [ 1235567 ] unicode() call failing, emails stuck in moderation queue --- Mailman/Logging/Logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mailman/Logging/Logger.py b/Mailman/Logging/Logger.py index 0cb7c6af..b583a351 100644 --- a/Mailman/Logging/Logger.py +++ b/Mailman/Logging/Logger.py @@ -85,7 +85,7 @@ class Logger: def write(self, msg): if isinstance(msg, StringType): - msg = unicode(msg, self.__encoding) + msg = unicode(msg, self.__encoding, 'replace') f = self.__get_f() try: f.write(msg) -- cgit v1.2.3