From efd8535ae12ef87433cf54f05c1ab536eba9be42 Mon Sep 17 00:00:00 2001 From: nate Date: Thu, 14 Dec 2017 00:37:45 -0800 Subject: [PATCH] minor cleanup --- ttadmin/users/models.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ttadmin/users/models.py b/ttadmin/users/models.py index ff2449e..7b8692d 100644 --- a/ttadmin/users/models.py +++ b/ttadmin/users/models.py @@ -58,14 +58,15 @@ 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', issue_type='other', issue_text='was not able to send welcome email to {} ({})'.format( self.username, - self.email)) + self.email)) # managing concrete system state def has_modified_page(self):