From 040c48827ed877ca673c9dbc67fad24ebc5c7ff7 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Fri, 28 Feb 2014 11:16:40 +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 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/superTornado.py b/superTornado.py index 04c4026..ec33777 100644 --- a/superTornado.py +++ b/superTornado.py @@ -127,9 +127,12 @@ application = tornado.web.Application([ (r"/video", VideoHandler), (r"/unauthorized", UnauthorizedHandler), (r"/disconnection", DisconnectionHandler), - (r"/socket", WSocketHandler), - (r"/static/(.*)", tornado.web.StaticFileHandler, {"static_path": "/home/vmproxy/Bureau/ptut/"}), -], cookie_secret="1213215656") + (r"/socket", WSocketHandler),], +settings = { + "template_path": Settings.TEMPLATE_PATH, + "static_path": Settings.STATIC_PATH, + }, +cookie_secret="1213215656") if __name__ == "__main__": hand = LoadConf()