From 44e08015ddacffa6fab2d6c2499117dadf688f1e Mon Sep 17 00:00:00 2001 From: sidya82 Date: Mon, 3 Mar 2014 14:40:03 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superTornado.py b/superTornado.py index a135120..1825bac 100644 --- a/superTornado.py +++ b/superTornado.py @@ -91,7 +91,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler): iden = self.current_user if self.get_autorisation == "yes": log.printL(iden + ",Authorized user connection,"+self.request.remote_ip,20) - if confAveug == True: + if blind == True: log.printL('->Send audio alarm authorized user',20) log.printL('maison.request("GET", "micom/say.php?source=toto&text=Connection%20a%20la%20camera%20autorisee")',10) else: @@ -99,7 +99,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler): log.printL('maison.request("GET", "micom/lamp.php?room=salon1&order=1")',10) else : log.printL(iden + " as IllegalUser,Unauthorized user connection" + self.request.remote_ip,30) - if confAveug == True: + if blind == True: log.printL('->Send audio alarm unauthorized user',30) log.printL('maison.request("GET", "micom/say.php?source=toto&text=Connection%20a%20la%20camera%20non%20autorisee")',10) else: