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("/") self.redirect("/")
return return
name = tornado.escape.xhtml_escape(self.current_user) name = tornado.escape.xhtml_escape(self.current_user)
with open("image/temp.jpg", 'rb') as f: self.render("video.html")
data = f.read()
self.write(data)
class UnauthorizedHandler(BaseHandler): class UnauthorizedHandler(BaseHandler):
def get(self): def get(self):

View File

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