modifié: superTornado.py
This commit is contained in:
parent
5af4e8446c
commit
bb01e28ab0
@ -251,6 +251,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler):
|
||||
socket.setdefaulttimeout(5)
|
||||
f = urlopen(GlobalVars.urlCamera)
|
||||
isData = False
|
||||
data = f.readline().rstrip('\r\n')
|
||||
while(data != "--MOBOTIX_Fast_Serverpush--"):
|
||||
data = f.readline().rstrip('\r\n')
|
||||
if isData == True:
|
||||
|
Reference in New Issue
Block a user