modifié: superTornado.py
This commit is contained in:
parent
18ea1de564
commit
be80c006a6
@ -105,7 +105,7 @@ class WSocketHandler(tornado.websocket.WebSocketHandler):
|
||||
data = f.read()
|
||||
encoded = base64.b64encode(data)
|
||||
self.write_message(encoded)
|
||||
except tornado.websocket.WebSocketClosedError,e:
|
||||
except Exception, e :
|
||||
print e
|
||||
break
|
||||
time.sleep(2)
|
||||
|
Reference in New Issue
Block a user