mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
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.
|
||||
|
||||
"""
|
||||
if self.mailbox.from_email
|
||||
if self.mailbox.from_email:
|
||||
message.from_email = self.mailbox.from_email
|
||||
else:
|
||||
message.from_email = settings.DEFAULT_FROM_EMAIL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue