From 77b96cd72b729fcc09cb571e9623a56c14b2a81e Mon Sep 17 00:00:00 2001 From: sidya82 Date: Fri, 28 Feb 2014 07:46:02 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superTornado.py b/superTornado.py index 8d18676..ec9f3a1 100644 --- a/superTornado.py +++ b/superTornado.py @@ -95,9 +95,9 @@ class DisconnectionHandler(BaseHandler): class WSocketHandler(tornado.websocket.WebSocketHandler): def open(self) : - if not self.current_user : + """"if not self.current_user : self.close() - return + return""" print "->Websocket opened" while 1 : try :