diff --git a/gestion/tools/whokfet.py b/gestion/tools/whokfet.py index 142a5aa9..903487bc 100755 --- a/gestion/tools/whokfet.py +++ b/gestion/tools/whokfet.py @@ -43,6 +43,7 @@ def get_state(): res = {'ma': [], 'crans': [], 'adh': [], + 'bde': [], 'unknown_macs': [], 'ttyfound': 0, } @@ -60,6 +61,8 @@ def get_state(): key = 'crans' elif hasattr(m.proprietaire(),'droits') and m.proprietaire().droits(): key = 'ma' + elif m.proprietaire().idn == "cid" and m.proprietaire().id() == "1": + key = 'bde' else: key = 'adh' res[key].append(m)