diff --git a/gestion/hptools.py b/gestion/hptools.py index 9bfef7e4..032b79bb 100644 --- a/gestion/hptools.py +++ b/gestion/hptools.py @@ -402,6 +402,7 @@ class hpswitch : if etat == 'up' : nb += 1 return nb + prise = prise.replace('-','') return self.get(oid + '.' + str(prise)) == 'up' def is_enable(self,prise=0) :