From 85d85dca5c5704b89b01eec8d09013bfbe643b7b Mon Sep 17 00:00:00 2001 From: sidya82 Date: Wed, 2 Apr 2014 17:05:27 +0200 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20supe?= =?UTF-8?q?rTornado.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- superTornado.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superTornado.py b/superTornado.py index 2ca8e0f..08fa88f 100644 --- a/superTornado.py +++ b/superTornado.py @@ -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)