diff options
-rw-r--r-- | Mailman/Handlers/Scrubber.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/Scrubber.py b/Mailman/Handlers/Scrubber.py index 5dabadf3..a1e0194f 100644 --- a/Mailman/Handlers/Scrubber.py +++ b/Mailman/Handlers/Scrubber.py @@ -75,7 +75,7 @@ class ScrubberGenerator(Generator): def safe_strftime(fmt, floatsecs): try: return time.strftime(fmt, floatsecs) - except ValueError: + except (TypeError, ValueError): return None |