summaryrefslogtreecommitdiff
path: root/src/mailman/model/bounce.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/model/bounce.py')
-rw-r--r--src/mailman/model/bounce.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/model/bounce.py b/src/mailman/model/bounce.py
index 29a35266e..26ebbe0c6 100644
--- a/src/mailman/model/bounce.py
+++ b/src/mailman/model/bounce.py
@@ -59,7 +59,7 @@ class BounceEvent(Model):
self.timestamp = now()
msgid = msg['message-id']
if isinstance(msgid, bytes):
- msgid = msgid.decode("ascii")
+ msgid = msgid.decode('ascii')
self.message_id = msgid
self.context = (BounceContext.normal if context is None else context)
self.processed = False