summaryrefslogtreecommitdiffstats
path: root/Lib/rfc822.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/rfc822.py')
-rw-r--r--Lib/rfc822.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/rfc822.py b/Lib/rfc822.py
index 96a02d1..662703b 100644
--- a/Lib/rfc822.py
+++ b/Lib/rfc822.py
@@ -624,7 +624,7 @@ class AddrlistClass:
aslist.append('.')
self.pos = self.pos + 1
elif self.field[self.pos] == '"':
- aslist.append(self.getquote())
+ aslist.append('"%s"' % self.getquote())
elif self.field[self.pos] in self.atomends:
break
else: aslist.append(self.getatom())