From a0bb2353904233ddd58a777c6a609637a41ee098 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Mon, 3 Mar 2014 15:13:44 +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 12ed4ec..ba94554 100644 --- a/superTornado.py +++ b/superTornado.py @@ -53,7 +53,7 @@ class MainHandler(BaseHandler): class VideoHandler(BaseHandler): def get(self): - if not self.get_autorisation and not self.get_current_user : + if not self.current_user : self.redirect("/") return self.render("v/video.html")