From 7b0ec841385ded71849a47c96acb29b70a803f4a Mon Sep 17 00:00:00 2001 From: sidya82 Date: Fri, 28 Feb 2014 01:31:25 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20supe?= =?UTF-8?q?rTornado.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- superTornado.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superTornado.py b/superTornado.py index 36eaded..ec3d725 100644 --- a/superTornado.py +++ b/superTornado.py @@ -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)