diff --git a/gestion/tools/whokfet.py b/gestion/tools/whokfet.py index 8b73f75d..142a5aa9 100755 --- a/gestion/tools/whokfet.py +++ b/gestion/tools/whokfet.py @@ -56,7 +56,7 @@ def get_state(): fm = db.search("mac=%s" % mac) if fm['machine']: m = fm['machine'][0] - if fm['machineCrans']: + if fm['machineCrans'] or fm["borneWifi"]: key = 'crans' elif hasattr(m.proprietaire(),'droits') and m.proprietaire().droits(): key = 'ma'