From 8f13b1f7e4ac04b6c0108a7b5df3c093324088ad Mon Sep 17 00:00:00 2001 From: sidya82 Date: Thu, 27 Feb 2014 20:07:55 +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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/superTornado.py b/superTornado.py index 0900243..9776149 100644 --- a/superTornado.py +++ b/superTornado.py @@ -16,7 +16,7 @@ class MainHandler(tornado.web.RequestHandler): login = Login() autorise = login.connexion(iden, mdp) - #maison = httplib.HTTPConnection("192.168.16.150", 80) + # maison = httplib.HTTPConnection("192.168.16.150", 80) if autorise == True: ficLog.enregDansLog(iden,"Authorized user connection",info[0]) if confAveug == True: @@ -26,7 +26,7 @@ class MainHandler(tornado.web.RequestHandler): print '->Send visual alarm authorized user' print 'maison.request("GET", "micom/lamp.php?room=salon1&order=1")' print "->Send to client authorized user access" - #redirection autorisé + # redirection autorisé else: ficLog.enregDansLog(iden,"Unauthorized user connection",info[0]) @@ -37,7 +37,7 @@ class MainHandler(tornado.web.RequestHandler): print '->Send visual alarm unauthorized user' print 'maison.request("GET", "micom/lamp.php?room=salon1&order=1")' print "->Send to client unauthorized user access" - #redirection non autorisé + # redirection non autorisé @@ -50,7 +50,7 @@ application = tornado.web.Application([ ]) if __name__ == "__main__": - #chargement congig + # chargement congfig hand = LoadConf() confAveug = hand.estAveugle() if confAveug == True: