1
0
Fork 0

Add flake8 style check

This commit is contained in:
Lars Kruse 2017-05-09 23:59:42 +02:00
parent ce6ce6b5dd
commit 234ed00909
10 changed files with 28 additions and 15 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):