parent
3776760a39
commit
305d2678c3
|
@ -52,7 +52,7 @@ class MboxMsgBuffer(Buffer):
|
|||
def _get_lines(self):
|
||||
d = {}
|
||||
for name in ('delivered-to', 'to', 'from', 'subject', 'date'):
|
||||
s = self.msg.get(name)
|
||||
s = self.msg.get(name, '')
|
||||
d[name] = cont_re.sub(' ', s.replace('\t', ' '))
|
||||
lines = [
|
||||
'Delivered-To: ' + d['delivered-to'],
|
||||
|
|
Loading…
Reference in New Issue