From af7b8fa2b95869cda806b98e0c56969a37b5016e Mon Sep 17 00:00:00 2001 From: sidya82 Date: Tue, 18 Mar 2014 23:42:50 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20supe?= =?UTF-8?q?rTornado.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- superTornado.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superTornado.py b/superTornado.py index 10d3356..69eeed4 100644 --- a/superTornado.py +++ b/superTornado.py @@ -201,7 +201,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler): GlobalVars.log.printL("->"+iden +" : Unauthorized User Deconnection : "+self.request.remote_ip,lvl.WARNING) 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) self.send_signal_house('maison.request("GET", "micom/say.php?source=toto&text=Connection%20a%20la%20camera%20rompue")') else: