diff --git a/gestion/gen_confs/switchs.py b/gestion/gen_confs/switchs.py index d43a2a4e..29d2b806 100755 --- a/gestion/gen_confs/switchs.py +++ b/gestion/gen_confs/switchs.py @@ -140,7 +140,7 @@ exit def __init__(self,chbre) : self.chbre = chbre - def __mail(sujet) : + def __mail(self,sujet) : To = "clef%s@crans.org" % self.chbre[0].lower() From = To conn=smtplib.SMTP('localhost')