From 8b16109e3a42755bde9db5c28ed32dbb97f81514 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Thu, 27 Feb 2014 19:57:53 +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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/superTornado.py b/superTornado.py index 9cc80b8..c2edb72 100644 --- a/superTornado.py +++ b/superTornado.py @@ -1,6 +1,7 @@ import tornado.ioloop import tornado.web import tornado.httpserver +from loadConf import * confAveug = False @@ -22,11 +23,13 @@ application = tornado.web.Application([ if __name__ == "__main__": #chargement congig + hand = LoadConf() confAveug = hand.estAveugle() if confAveug == True: print "->Blind unhabitant system configuration" else : print "->Not blind unhabitant system configuration" + http_server = tornado.httpserver.HTTPServer(application) http_server.listen(80) tornado.ioloop.IOLoop.instance().start()