forked from mirror/django-mailbox
Fix Mailbox.get_connection
This commit is contained in:
parent
d4e052bb79
commit
b7a3a6b077
1 changed files with 3 additions and 1 deletions
|
|
@ -224,7 +224,9 @@ class Mailbox(models.Model):
|
||||||
conn = MHTransport(self.location)
|
conn = MHTransport(self.location)
|
||||||
elif self.type == 'mmdf':
|
elif self.type == 'mmdf':
|
||||||
conn = MMDFTransport(self.location)
|
conn = MMDFTransport(self.location)
|
||||||
return registry[self.type].from_url(self.uri)
|
else:
|
||||||
|
conn = registry[self.type].from_url(self.uri)
|
||||||
|
return conn
|
||||||
|
|
||||||
def process_incoming_message(self, message):
|
def process_incoming_message(self, message):
|
||||||
"""Process a message incoming to this mailbox."""
|
"""Process a message incoming to this mailbox."""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue