modifié: superTornado.py

This commit is contained in:
sidya82 2014-03-18 23:45:54 +01:00
parent af7b8fa2b9
commit 60345c97c6
1 changed files with 1 additions and 1 deletions

View File

@ -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)