diff --git a/gestion/tools/who2b.py b/gestion/tools/who2b.py index dde0af9d..957b51ec 100755 --- a/gestion/tools/who2b.py +++ b/gestion/tools/who2b.py @@ -34,7 +34,6 @@ def liste_2b(): "00:1c:2e:56:1a:20": "minigiga (switch)", "00:40:8c:7f:4a:b5": "tinybrother", "00:24:8c:44:3b:70": "vo", - "64:66:b3:b0:e3:d6": "ripe-atlas", } # Machines branchée sur la prise @@ -49,7 +48,12 @@ def liste_2b(): # Machine personnelle ou machine Cr@ns ? if len(fm['borneWifi']) == 0 and len(fm['machineCrans']) == 0: try: - if len(m.proprietaire().droits()) != 0 or len(fm['machineFixe']) != 0: + p = m.proprietaire() + if p.idn == "cid" and p.id() == "35": + # Machine du *club* Cr@ns + machines_crans.append(m) + continue + if len(p.droits()) != 0 or len(fm['machineFixe']) != 0: # On filtre en Wifi sur ceux qui ont des droits machines.append(m) except: