modifié: superTornado.py
This commit is contained in:
parent
ba20889f46
commit
a0bb235390
@ -53,7 +53,7 @@ class MainHandler(BaseHandler):
|
|||||||
|
|
||||||
class VideoHandler(BaseHandler):
|
class VideoHandler(BaseHandler):
|
||||||
def get(self):
|
def get(self):
|
||||||
if not self.get_autorisation and not self.get_current_user :
|
if not self.current_user :
|
||||||
self.redirect("/")
|
self.redirect("/")
|
||||||
return
|
return
|
||||||
self.render("v/video.html")
|
self.render("v/video.html")
|
||||||
|
Reference in New Issue
Block a user