modifié: superTornado.py
modifié: video.html
This commit is contained in:
parent
7b0ec84138
commit
e00ad09f38
@ -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):
|
||||
|
@ -7,5 +7,6 @@
|
||||
</head>
|
||||
<body>
|
||||
<h2>Vue camera</h2>
|
||||
<img href="image/temp.jpg"
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user