modifié: superTornado.py

This commit is contained in:
sidya82 2014-04-02 19:32:19 +02:00
parent 1cd65fd995
commit 5af4e8446c
1 changed files with 7 additions and 7 deletions

View File

@ -251,7 +251,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler):
socket.setdefaulttimeout(5)
f = urlopen(GlobalVars.urlCamera)
isData = False
while(data != "--MOBOTIX_Fast_Serverpush--")
while(data != "--MOBOTIX_Fast_Serverpush--"):
data = f.readline().rstrip('\r\n')
if isData == True:
temp.write(data)