mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-10 06:48:19 +02:00
Update open mode in get_email_as_text
This commit is contained in:
parent
9b5faa0e5f
commit
d3189fea20
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ class EmailIntegrationTimeout(Exception):
|
||||||
|
|
||||||
|
|
||||||
def get_email_as_text(name):
|
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()
|
return f.read()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue