minor cleanup

add-key-for-user
nate 2017-12-14 00:37:45 -08:00
parent c79dbe0941
commit efd8535ae1
1 changed files with 3 additions and 2 deletions

View File

@ -58,7 +58,8 @@ class Townie(User):
} }
text = welcome_tmpl.render(context) text = welcome_tmpl.render(context)
from_address = '{}@tilde.town'.format(admin_name) 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: if not success:
Ticket.objects.create(name='system', Ticket.objects.create(name='system',
email='root@tilde.town', email='root@tilde.town',