supprimé: image/temp.jpg
modifié: superTornado.py
This commit is contained in:
parent
2eb1b9ab2d
commit
b2dbfa21a6
BIN
image/temp.jpg
BIN
image/temp.jpg
Binary file not shown.
Before Width: | Height: | Size: 12 KiB |
@ -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
|
||||
|
Reference in New Issue
Block a user