[whokfet] Les bornes wifi sont aussi des machines Cr@ns
This commit is contained in:
parent
177f38be55
commit
6ad598f669
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ def get_state():
|
||||||
fm = db.search("mac=%s" % mac)
|
fm = db.search("mac=%s" % mac)
|
||||||
if fm['machine']:
|
if fm['machine']:
|
||||||
m = fm['machine'][0]
|
m = fm['machine'][0]
|
||||||
if fm['machineCrans']:
|
if fm['machineCrans'] or fm["borneWifi"]:
|
||||||
key = 'crans'
|
key = 'crans'
|
||||||
elif hasattr(m.proprietaire(),'droits') and m.proprietaire().droits():
|
elif hasattr(m.proprietaire(),'droits') and m.proprietaire().droits():
|
||||||
key = 'ma'
|
key = 'ma'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue