darcs-hash:20050421102329-d1718-f3be20de749ebeec40d1f0186f64692e7665af71.gz
This commit is contained in:
bernat 2005-04-21 12:23:29 +02:00
parent e236f41035
commit 12d160eff3

View file

@ -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