modifié: superTornado.py

This commit is contained in:
sidya82 2014-04-02 19:53:26 +02:00
parent 5600f1216d
commit 18cb11c7bf
1 changed files with 2 additions and 2 deletions

View File

@ -256,9 +256,9 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler):
with open("temp","r") as temp :
with open("temp2","w") as dest :
isData = False
for ligne in temp
for ligne in temp :
ligne.rstrip('\r\n')
if data ="--MOTOBIX_Fast_Serverpush"
if data ="--MOTOBIX_Fast_Serverpush":
isData = False
if isData == True:
dest.write(data+"\n")