minor cleanup
parent
c79dbe0941
commit
efd8535ae1
|
@ -58,7 +58,8 @@ class Townie(User):
|
|||
}
|
||||
text = welcome_tmpl.render(context)
|
||||
from_address = '{}@tilde.town'.format(admin_name)
|
||||
success = send_email(self.email, text, subject='tilde.town!', frum=from_address)
|
||||
success = send_email(self.email, text, subject='tilde.town!',
|
||||
frum=from_address)
|
||||
if not success:
|
||||
Ticket.objects.create(name='system',
|
||||
email='root@tilde.town',
|
||||
|
|
Loading…
Reference in New Issue