[FIX] safe decode for 3
This commit is contained in:
parent
d1e38d21c2
commit
59d3986290
1 changed files with 1 additions and 1 deletions
|
|
@ -427,7 +427,7 @@ class Email:
|
|||
if encoding:
|
||||
decoded += part.decode(encoding)
|
||||
else:
|
||||
decoded += part.decode('utf-8')
|
||||
decoded += safe_decode(part)
|
||||
return decoded
|
||||
|
||||
def set_content_and_type(self):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue