Show More
@@ -228,7 +228,8 b' def extract(ui, fileobj):' | |||
|
228 | 228 | data['user'] = msg['From'] and mail.headdecode(msg['From']) |
|
229 | 229 | if not subject and not data['user']: |
|
230 | 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 | 234 | # should try to parse msg['Date'] |
|
234 | 235 | parents = [] |
General Comments 0
You need to be logged in to leave comments.
Login now