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("temp","r") as temp :
with open("temp2","w") as dest : with open("temp2","w") as dest :
isData = False isData = False
for ligne in temp for ligne in temp :
ligne.rstrip('\r\n') ligne.rstrip('\r\n')
if data ="--MOTOBIX_Fast_Serverpush" if data ="--MOTOBIX_Fast_Serverpush":
isData = False isData = False
if isData == True: if isData == True:
dest.write(data+"\n") dest.write(data+"\n")