Show More
@@ -228,7 +228,8 b' def extract(ui, fileobj):' | |||||
228 | data['user'] = msg['From'] and mail.headdecode(msg['From']) |
|
228 | data['user'] = msg['From'] and mail.headdecode(msg['From']) | |
229 | if not subject and not data['user']: |
|
229 | if not subject and not data['user']: | |
230 | # Not an email, restore parsed headers if any |
|
230 | # Not an email, restore parsed headers if any | |
231 |
subject = '\n'.join(': '.join(h) |
|
231 | subject = '\n'.join(': '.join(map(encoding.strtolocal, h)) | |
|
232 | for h in msg.items()) + '\n' | |||
232 |
|
233 | |||
233 | # should try to parse msg['Date'] |
|
234 | # should try to parse msg['Date'] | |
234 | parents = [] |
|
235 | parents = [] |
General Comments 0
You need to be logged in to leave comments.
Login now