From 0fce5250805878be5d5437f59270bcc4dfafda38 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Fri, 28 Feb 2014 05:21:00 +0100 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/superTornado.py b/superTornado.py index 48c4d11..cfb1c75 100644 --- a/superTornado.py +++ b/superTornado.py @@ -82,11 +82,10 @@ class AJAXHandler(BaseHandler): f = urlopen('http://test:a@192.168.1.15/image.jpg?cidx=791836195', 'image/temp.jpg') data = f.read() encoded = base64.b64encode(data) - print encoded self.write(encoded) self.finish() except Exception, e : - self.finish() + class DisconnectionHandler(BaseHandler): def post(self):