diff --git a/attributs.py b/attributs.py index 9fa51e2..7fed582 100644 --- a/attributs.py +++ b/attributs.py @@ -354,7 +354,7 @@ class mail(Attr): if str(self) in liste_exclue: return if attr in ["mailAlias", "canonicalAlias", 'mail']: - mail, end = str(self).split('@', 1)[0], str(self).split("@", 1)[1] + mail, end = str(self).split('@', 1) if end.startswith('crans'): try: smtp = smtplib.SMTP(smtpserv)