forked from mirror/django-mailbox
Add flake8 style check
This commit is contained in:
parent
ce6ce6b5dd
commit
234ed00909
10 changed files with 28 additions and 15 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue