modifié: superTornado.py
This commit is contained in:
parent
3f07e89851
commit
5f8d775b1b
@ -117,7 +117,8 @@ class TestSocket(tornado.websocket.WebSocketHandler):
|
|||||||
encoded = base64.b64encode(data)
|
encoded = base64.b64encode(data)
|
||||||
self.write_message(encoded)
|
self.write_message(encoded)
|
||||||
except tornado.websocket.WebSocketClosedError:
|
except tornado.websocket.WebSocketClosedError:
|
||||||
break
|
pass
|
||||||
|
#break
|
||||||
else :
|
else :
|
||||||
self.write_message(" ")
|
self.write_message(" ")
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
|
Reference in New Issue
Block a user