[attributs] a, b = [a,b] mieux que a, b = [a,b][0], [a,b][1]
This commit is contained in:
parent
7c2db3dc98
commit
efdd7a5cbe
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue