diff --git a/image/temp.jpg b/image/temp.jpg deleted file mode 100644 index 876b9fb..0000000 Binary files a/image/temp.jpg and /dev/null differ diff --git a/superTornado.py b/superTornado.py index 5356f66..f2f7ca4 100644 --- a/superTornado.py +++ b/superTornado.py @@ -80,7 +80,6 @@ class AJAXHandler(BaseHandler): return f =urlopen('http://test:a@192.168.1.15/image.jpg?cidx=791836195', 'image/temp.jpg') - #with open("image/temp.jpg", 'rb') as f: data = f.read() encoded = base64.b64encode(data) print encoded