Browse Source

Fix indentation/alignment in members mail sending

Jocelyn Delande 9 years ago
parent
commit
aa60e88158
1 changed files with 5 additions and 4 deletions
  1. 5 4
      coin/members/models.py

+ 5 - 4
coin/members/models.py

@@ -258,10 +258,11 @@ class Member(CoinLdapSyncMixin, AbstractUser):
         """ Envoie le courriel de bienvenue à ce membre """
         from coin.isp_database.models import ISPInfo
 
-        utils.send_templated_email(to=self.email,
-                   subject_template='members/emails/welcome_email_subject.txt',
-                   body_template='members/emails/welcome_email.html',
-                   context={'member': self, 'branding':ISPInfo.objects.first()})
+        utils.send_templated_email(
+            to=self.email,
+            subject_template='members/emails/welcome_email_subject.txt',
+            body_template='members/emails/welcome_email.html',
+            context={'member': self, 'branding': ISPInfo.objects.first()})
 
     def send_call_for_membership_fees_email(self, auto=False):
         """ Envoie le courriel d'appel à cotisation du membre