From 89b1e35dc00aee9b31b5a627ea3b9eaae6cca554 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Wed, 2 Apr 2014 17:44:16 +0200 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superTornado.py b/superTornado.py index daaf13a..6e2f9ad 100644 --- a/superTornado.py +++ b/superTornado.py @@ -257,7 +257,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler): if ligne == "--MOBOTIX_Fast_Serverpush--": isData = False if isData == True : - data = data + ligne.read() + data = data + ligne if ligne == "ENDSECTION EVENT": isData = True temp.write(f.read())