diff --git a/superTornado.py b/superTornado.py index 6c2c7ee..fd20cec 100644 --- a/superTornado.py +++ b/superTornado.py @@ -115,7 +115,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler): def on_close(self): print "->Websocket closed" - self.redirect_internal("/disconnection") + self.redirect("/disconnection")