diff --git a/superTornado.py b/superTornado.py index 90acfff..7842c82 100644 --- a/superTornado.py +++ b/superTornado.py @@ -255,7 +255,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler): if ligne == "--MOBOTIX_Fast_Serverpush--": isData = False if isData == True : - data = ligne + data = data + ligne.read() if ligne == "ENDSECTION EVENT": isData = True temp.write(f.read())