modifié: superTornado.py

This commit is contained in:
sidya82 2014-03-18 23:42:50 +01:00
parent ed93d3874f
commit af7b8fa2b9

View File

@ -201,7 +201,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler):
GlobalVars.log.printL("->"+iden +" : Unauthorized User Deconnection : "+self.request.remote_ip,lvl.WARNING) GlobalVars.log.printL("->"+iden +" : Unauthorized User Deconnection : "+self.request.remote_ip,lvl.WARNING)
if GlobalVars.blind == True: if GlobalVars.blind == True:
if (GlobalVars.unauthorized == 0) and (authorized == 0): if (GlobalVars.unauthorized == 0) and (GlobalVars.authorized == 0):
GlobalVars.log.printL('->Send Audio Alarm Deconnection User', lvl.INFO) 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")') self.send_signal_house('maison.request("GET", "micom/say.php?source=toto&text=Connection%20a%20la%20camera%20rompue")')
else: else: