1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-09 22:38:19 +02:00

decode as ascii on Decode error

This commit is contained in:
Antonio Corroppoli 2016-03-31 14:36:17 +02:00
parent 58d4fae854
commit b5b66b9766

View file

@ -352,7 +352,7 @@ class Mailbox(models.Model):
)
msg.set_payload(
msg.get_payload(decode=True).decode(
content_charset,
'ascii',
'ignore'
)
)