1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-10 06:48:19 +02:00

Merge branch 'master' into utf8-failing

This commit is contained in:
Adam Dobrawy 2017-07-09 04:07:04 +02:00
commit 0449e994d4
13 changed files with 64 additions and 18 deletions

View file

@ -89,7 +89,7 @@ def convert_header_to_unicode(header):
header,
default_charset,
)
return unicode(header, default_charset, 'replace')
return header.decode(default_charset, 'replace')
def get_body_from_message(message, maintype, subtype):