modifié: superTornado.py
This commit is contained in:
parent
5600f1216d
commit
18cb11c7bf
@ -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")
|
||||||
|
Reference in New Issue
Block a user