modifié: superTornado.py

This commit is contained in:
sidya82 2014-04-02 20:01:55 +02:00
parent 1ae32038ec
commit d370e8a245
1 changed files with 2 additions and 2 deletions

View File

@ -258,11 +258,11 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler):
isData = False
for ligne in temp :
data = ligne.rstrip('\r\n')
if data =="--MOTOBIX_Fast_Serverpush":
if data =="--MOTOBIX_Fast_Serverpush--":
isData = False
if isData == True:
dest.write(data+"\n")
if data == "ENDSECTIONEVENT" :
if data == "ENDSECTION EVENT" :
isData = True
data = f.read()
dest.close()