modifié: superTornado.py
This commit is contained in:
parent
c26d7fd1c8
commit
61561ceada
@ -250,6 +250,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler):
|
|||||||
temp = open("temp","w")
|
temp = open("temp","w")
|
||||||
socket.setdefaulttimeout(5)
|
socket.setdefaulttimeout(5)
|
||||||
f = urlopen(GlobalVars.urlCamera)
|
f = urlopen(GlobalVars.urlCamera)
|
||||||
|
data = ""
|
||||||
isData = False
|
isData = False
|
||||||
for ligne in f:
|
for ligne in f:
|
||||||
if ligne == "--MOBOTIX_Fast_Serverpush--":
|
if ligne == "--MOBOTIX_Fast_Serverpush--":
|
||||||
|
Reference in New Issue
Block a user