invite -> Invite.
darcs-hash:20060323120339-68412-1af24e89624decc04527eb7274af186b8cc7dcf1.gz
This commit is contained in:
parent
3d0f609ee6
commit
bfed30d32a
4 changed files with 11 additions and 11 deletions
|
@ -28,7 +28,7 @@ sys.path.append('/usr/scripts/gestion')
|
|||
import syslog
|
||||
import pwd
|
||||
from lock import *
|
||||
from ldap_crans import crans_ldap, ann_scol, crans, invite, hostname
|
||||
from ldap_crans import crans_ldap, ann_scol, crans, Invite, hostname
|
||||
from ldap_crans import Machine, MachineWifi
|
||||
from affich_tools import *
|
||||
from commands import getstatusoutput
|
||||
|
@ -290,7 +290,7 @@ class firewall_crans :
|
|||
# Il faut avoir payé ou ętre une machine du crans ou un invite
|
||||
if db.search('paiement=ok&ip=%s'% ip)['machine'] or \
|
||||
machine[0].proprietaire().__class__ == crans or \
|
||||
machine[0].proprietaire().__class__ == invite :
|
||||
machine[0].proprietaire().__class__ == Invite :
|
||||
mac_ip_maj[ip] = machine[0]
|
||||
else :
|
||||
mac_ip_maj[ip] = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue