mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Attempting to narrow down the issue @rulzart is encountering.
Conflicts: django_mailbox/transports/generic.py
This commit is contained in:
parent
9730c34c7f
commit
f8e70aa5d1
1 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import sys
|
||||
|
||||
from .base import EmailTransport
|
||||
|
||||
|
||||
|
|
@ -7,7 +9,9 @@ class GenericFileMailbox(EmailTransport):
|
|||
|
||||
def __init__(self, path):
|
||||
super(GenericFileMailbox, self).__init__()
|
||||
self._path = path
|
||||
self._path = path.encode(
|
||||
sys.getfilesystemencoding()
|
||||
)
|
||||
|
||||
def get_instance(self):
|
||||
return self._variant(self._path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue