modifié: superTornado.py
This commit is contained in:
parent
d635b6f1c3
commit
f6728718c5
@ -258,7 +258,6 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler):
|
|||||||
if data == "ENDSECTIONEVENT" :
|
if data == "ENDSECTIONEVENT" :
|
||||||
isData = True
|
isData = True
|
||||||
data = f.read()
|
data = f.read()
|
||||||
|
|
||||||
encoded = base64.b64encode(data)
|
encoded = base64.b64encode(data)
|
||||||
f.close()
|
f.close()
|
||||||
self.write_message(encoded)
|
self.write_message(encoded)
|
||||||
|
Reference in New Issue
Block a user