Show More
@@ -367,8 +367,12 b' class notifier(object):' | |||
|
367 | 367 | raise error.Abort(inst) |
|
368 | 368 | |
|
369 | 369 | # store sender and subject |
|
370 |
sender = |
|
|
371 |
subject = |
|
|
370 | sender = msg[r'From'] | |
|
371 | subject = msg[r'Subject'] | |
|
372 | if sender is not None: | |
|
373 | sender = encoding.strtolocal(sender) | |
|
374 | if subject is not None: | |
|
375 | subject = encoding.strtolocal(subject) | |
|
372 | 376 | del msg[r'From'], msg[r'Subject'] |
|
373 | 377 | |
|
374 | 378 | if not msg.is_multipart(): |
General Comments 0
You need to be logged in to leave comments.
Login now