From 1645c95aee639002dca7a652d12bad6ff411b17c Mon Sep 17 00:00:00 2001 From: sidya82 Date: Sat, 1 Mar 2014 21:22:37 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superTornado.py b/superTornado.py index 3c1afb0..28e15fc 100644 --- a/superTornado.py +++ b/superTornado.py @@ -144,7 +144,7 @@ application = tornado.web.Application([ (r"/unauthorized", UnauthorizedHandler), (r"/disconnection", DisconnectionHandler), (r"/socket", WSocketHandler),], - static_path=os.path.join(root, 'style'), + static_path=os.path.dirname(os.path.dirname(__file__), 'style'), cookie_secret="1213215656") if __name__ == "__main__":