summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f2636b7)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
continue
payload = part.get_payload(decode=True)
continue
payload = part.get_payload(decode=True)
+ if not isinstance(payload, unicode):
+ payload = unicode(payload, part.get_content_charset())
subtype = part.get_content_subtype()
if subtype in ['x-patch', 'x-diff']:
subtype = part.get_content_subtype()
if subtype in ['x-patch', 'x-diff']: