From 6578a542a9950e965f822488be2dcfda65ce8db6 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Wed, 12 Mar 2014 16:53: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 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/superTornado.py b/superTornado.py index 9c16e1a..882949b 100644 --- a/superTornado.py +++ b/superTornado.py @@ -207,13 +207,12 @@ if __name__ == "__main__": log.printL("->Server Start ...",lvl.INFO) tornado.options.parse_command_line() http_server = tornado.httpserver.HTTPServer(application,ssl_options={ - "certfile": os.path.join("/ssl", "server.crt"), - "keyfile": os.path.join("/ssl", "server.key"), + "certfile": "/ssl/server.crt"), + "keyfile": "/ssl/server.key"), }) http_server.listen(portServ) log.printL("->Server Start Successfully !",lvl.SUCCESS) tornado.ioloop.IOLoop.instance().start() except Exception, e : log.printL("Server Start Failed !",lvl.FAIL) - log.printL(e.value,lvl.FAIL) sys.exit(1)