modifié: superTornado.py

This commit is contained in:
sidya82 2014-03-12 17:09:22 +01:00
parent 087f8bfb0b
commit 6d84abdacf
1 changed files with 1 additions and 3 deletions

View File

@ -205,12 +205,10 @@ if __name__ == "__main__":
try :
log.printL("->Server Start ...",lvl.INFO)
tornado.options.parse_command_line()
print "lol"
http_server = tornado.httpserver.HTTPServer(application,ssl_options={
"certfile": "/ssl/server.crt",
"certfile": "/ssl/server.csr",
"keyfile": "/ssl/server.key",
})
print "lol1"
http_server.listen(433)
log.printL("->Server Start Successfully !",lvl.SUCCESS)
tornado.ioloop.IOLoop.instance().start()