modifié: superTornado.py
This commit is contained in:
parent
d2cccd7ed1
commit
7b0ec84138
@ -48,7 +48,7 @@ class VideoHandler(BaseHandler):
|
|||||||
self.redirect("/")
|
self.redirect("/")
|
||||||
return
|
return
|
||||||
name = tornado.escape.xhtml_escape(self.current_user)
|
name = tornado.escape.xhtml_escape(self.current_user)
|
||||||
with open(path, 'rb') as f:
|
with open("image/temp.jpg", 'rb') as f:
|
||||||
data = f.read()
|
data = f.read()
|
||||||
self.write(data)
|
self.write(data)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user