diff --git a/gestion/gen_confs/squid.py b/gestion/gen_confs/squid.py index f9e5fdb3..d00170cf 100755 --- a/gestion/gen_confs/squid.py +++ b/gestion/gen_confs/squid.py @@ -43,7 +43,7 @@ class squid(gen_config) : # recherche dans les machines blacklistés liste = self.db.search("paiement=ok&mblacklist=*%s*"%self.chaine) l_machine = liste["machine"] - l_machine = [ m for m in l_machine if self.chaine in m.proprietaire().blacklist_actif() ] + l_machine = [ m for m in l_machine if self.chaine in m.blacklist_actif() ] # on ajoute les machines des proprios aux autres machines for proprio in l_proprio :