modifié: superTornado.py
This commit is contained in:
parent
af7b8fa2b9
commit
60345c97c6
@ -227,7 +227,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler):
|
||||
"""
|
||||
try :
|
||||
socket.setdefaulttimeout(5)
|
||||
f = urlopen(urlCamera)
|
||||
f = urlopen(GlobalVars.urlCamera)
|
||||
data = f.read()
|
||||
encoded = base64.b64encode(data)
|
||||
self.write_message(encoded)
|
||||
|
Reference in New Issue
Block a user