diff --git a/gestion/gen_confs/switchs.py b/gestion/gen_confs/switchs.py index 631c649e..d43a2a4e 100755 --- a/gestion/gen_confs/switchs.py +++ b/gestion/gen_confs/switchs.py @@ -150,9 +150,9 @@ exit conn.sendmail(From, To , txt_mail % { 'From' : From, 'To' : To }) conn.quit() - def disable() : + def disable(self) : self.__mail("Chambre %s à débrancher." % self.chbre) - def enable() : + def enable(self) : self.__mail("Chambre %s à brancher." % self.chbre) prise=prise_non_manageable(chbre)