Commit 9cd166ca authored by Daniel STAN's avatar Daniel STAN correct droits force_ma

parent b6d15e3c
......@@ -371,7 +371,7 @@ def decide_vlan(data, is_wifi, conn):
# Si l'adhérent n'est pas membre actif, il doit se brancher depuis la
# prise d'un autre adhérent à jour de cotisation
force_ma = False
is_ma = proprio.has_key('droits')
is_ma = bool(proprio.get('droits', False))
if chbre is None and not is_ma:
decision = "accueil", u"Chambre inconnue"
elif chbre is not None:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment