modifié: superTornado.py

This commit is contained in:
sidya82 2014-04-02 17:44:16 +02:00
parent c91bf1c400
commit 89b1e35dc0
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler):
if ligne == "--MOBOTIX_Fast_Serverpush--": if ligne == "--MOBOTIX_Fast_Serverpush--":
isData = False isData = False
if isData == True : if isData == True :
data = data + ligne.read() data = data + ligne
if ligne == "ENDSECTION EVENT": if ligne == "ENDSECTION EVENT":
isData = True isData = True
temp.write(f.read()) temp.write(f.read())