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

Update open mode in get_email_as_text

This commit is contained in:
Adam Dobrawy 2016-04-09 22:52:52 +02:00
parent 9b5faa0e5f
commit d3189fea20

View file

@ -15,7 +15,7 @@ class EmailIntegrationTimeout(Exception):
def get_email_as_text(name):
with open(join(dirname(__file__), 'messages', name), 'rb') as f:
with open(join(dirname(__file__), 'messages', name), 'r') as f:
return f.read()