modifié: superTornado.py
This commit is contained in:
parent
0f9da9fe0f
commit
9c7911b465
@ -23,10 +23,10 @@ application = tornado.web.Application([
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
#chargement congig
|
#chargement congig
|
||||||
confAveug = hand.estAveugle()
|
confAveug = hand.estAveugle()
|
||||||
if confAveug == True:
|
if confAveug == True:
|
||||||
print "->Blind unhabitant system configuration"
|
print "->Blind unhabitant system configuration"
|
||||||
else :
|
else :
|
||||||
print "->Not blind unhabitant system configuration"
|
print "->Not blind unhabitant system configuration"
|
||||||
http_server = tornado.httpserver.HTTPServer(application)
|
http_server = tornado.httpserver.HTTPServer(application)
|
||||||
http_server.listen(80)
|
http_server.listen(80)
|
||||||
tornado.ioloop.IOLoop.instance().start()
|
tornado.ioloop.IOLoop.instance().start()
|
||||||
|
Reference in New Issue
Block a user