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__":