modifié: superTornado.py

This commit is contained in:
sidya82 2014-04-02 17:05:27 +02:00
parent 268f218da8
commit 85d85dca5c
1 changed files with 2 additions and 2 deletions

View File

@ -252,9 +252,9 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler):
f = urlopen(GlobalVars.urlCamera)
data = f.read()
temp.write(data)
encoded = base64.b64encode(data)
#encoded = base64.b64encode(data)
f.close()
self.write_message(encoded)
self.write_message(data)
GlobalVars.log.printL( "->Image Data Send : " + self.request.remote_ip, lvl.INFO)
except Exception, e :
GlobalVars.log.printL(e,lvl.FAIL)