forked from mirror/django-mailbox
Fixing syntax bug.
This commit is contained in:
parent
77acc09e2f
commit
6a1394eded
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ class Message(models.Model):
|
||||||
pre-set it.
|
pre-set it.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
if self.mailbox.from_email
|
if self.mailbox.from_email:
|
||||||
message.from_email = self.mailbox.from_email
|
message.from_email = self.mailbox.from_email
|
||||||
else:
|
else:
|
||||||
message.from_email = settings.DEFAULT_FROM_EMAIL
|
message.from_email = settings.DEFAULT_FROM_EMAIL
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue