Test with an actual mbox caught a trivial error.
This commit is contained in:
parent
304b6a3225
commit
c9838f9fcb
@ -690,7 +690,7 @@ class Message(mimetools.Message):
|
||||
if i > 0:
|
||||
hit = pred(line[:i].lower())
|
||||
if hit: headers.append(line)
|
||||
return ''.joinfields(headers)
|
||||
return ''.join(headers)
|
||||
|
||||
def getbodytext(self, decode = 1):
|
||||
"""Return the message's body text as string. This undoes a
|
||||
|
Loading…
x
Reference in New Issue
Block a user