modifié: superTornado.py

modifié:         video.html
This commit is contained in:
sidya82 2014-02-28 01:33:56 +01:00
parent 7b0ec84138
commit e00ad09f38
2 changed files with 2 additions and 3 deletions

View File

@ -48,9 +48,7 @@ class VideoHandler(BaseHandler):
self.redirect("/")
return
name = tornado.escape.xhtml_escape(self.current_user)
with open("image/temp.jpg", 'rb') as f:
data = f.read()
self.write(data)
self.render("video.html")
class UnauthorizedHandler(BaseHandler):
def get(self):

View File

@ -7,5 +7,6 @@
</head>
<body>
<h2>Vue camera</h2>
<img href="image/temp.jpg"
</body>
</html>