diff options
Diffstat (limited to 'Mailman/Logging/Logger.py')
| -rw-r--r-- | Mailman/Logging/Logger.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Logging/Logger.py b/Mailman/Logging/Logger.py index 64b291208..0cb7c6afb 100644 --- a/Mailman/Logging/Logger.py +++ b/Mailman/Logging/Logger.py @@ -65,7 +65,7 @@ class Logger: f = codecs.open( self.__filename, 'a+', self.__encoding, 'replace', 1) - except codecs.LookupError: + except LookupError: f = open(self.__filename, 'a+', 1) self.__fp = f finally: |
