diff --git a/superTornado.py b/superTornado.py index ec3d725..d144df4 100644 --- a/superTornado.py +++ b/superTornado.py @@ -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): diff --git a/video.html b/video.html index e6db22c..c61d331 100644 --- a/video.html +++ b/video.html @@ -7,5 +7,6 @@

Vue camera

+