modifié: superTornado.py

This commit is contained in:
sidya82 2014-02-28 01:31:25 +01:00
parent d2cccd7ed1
commit 7b0ec84138

View File

@ -48,7 +48,7 @@ class VideoHandler(BaseHandler):
self.redirect("/")
return
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()
self.write(data)