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