From 6e73a99de27e7e09e129f6b03a415c7cdefc030f Mon Sep 17 00:00:00 2001 From: sidya82 Date: Fri, 28 Feb 2014 07:04:27 +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 f4da8d2..dd45a37 100644 --- a/superTornado.py +++ b/superTornado.py @@ -117,10 +117,10 @@ class TestSocket(tornado.websocket.WebSocketHandler): encoded = base64.b64encode(data) self.write_message(encoded) except tornado.websocket.WebSocketClosedError: - pass + self.write_message("error ") #break else : - self.write_message(" ") + self.write_message("aa") time.sleep(2) def on_message(self,mesg):