Commit 6ad598f6 authored by Vincent Le gallic's avatar Vincent Le gallic
Browse files

[whokfet] Les bornes wifi sont aussi des machines Cr@ns

parent 177f38be
......@@ -56,7 +56,7 @@ def get_state():
fm ="mac=%s" % mac)
if fm['machine']:
m = fm['machine'][0]
if fm['machineCrans']:
if fm['machineCrans'] or fm["borneWifi"]:
key = 'crans'
elif hasattr(m.proprietaire(),'droits') and m.proprietaire().droits():
key = 'ma'
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