diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 7a2fefe7..37703823 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -455,7 +455,7 @@ class crans_ldap : # Formatage adresse mac try : el = '(macAddress=%s)' % format_mac(expr) except : return '' - elif champ == 'paiement' and expr=='ok' : + elif champ == 'paiement' and expr == 'ok' : # Paiement donnant droit à une connexion maintenant ? # Deux cas : # - classique : résident sur le campus, il doit avoir payé pour