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:
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):
|
||||
with open(join(dirname(__file__), 'messages', name), 'rb') as f:
|
||||
with open(join(dirname(__file__), 'messages', name), 'r') as f:
|
||||
return f.read()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue