modifié: superTornado.py

This commit is contained in:
sidya82 2014-03-18 23:48:41 +01:00
parent 851b0f9280
commit 1e41ef6bc4
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler):
GlobalVars.log.printL('->Send Audio Alarm Deconnection User', lvl.INFO)
self.send_signal_house('maison.request("GET", "micom/say.php?source=toto&text=Connection%20a%20la%20camera%20rompue")')
else:
if (GlobalVars.unauthorized == 0) and ((GlobalVars.authorized == 0):
if (GlobalVars.unauthorized == 0) and (GlobalVars.authorized == 0):
GlobalVars.log.printL('->Send Visual Alarm Deconnection User ...',lvl.INFO)
self.send_signal_house('maison.request("GET", "micom/lamp.php?room=salon1&order=0")')