xvc
This commit is contained in:
parent
4bfa2ff579
commit
3d4ee8058c
2 changed files with 2 additions and 2 deletions
|
@ -671,7 +671,7 @@ def following(username, v):
|
|||
@app.get("/views")
|
||||
@auth_required
|
||||
def visitors(v):
|
||||
if SITE_NAME == 'Drama' and v.admin_level < 1 and not v.patron: return render_template("errors/patron.html", v=v)
|
||||
if v.admin_level < 1 and not v.patron: return render_template("errors/patron.html", v=v)
|
||||
viewers=sorted(v.viewers, key = lambda x: x.last_view_utc, reverse=True)
|
||||
return render_template("viewers.html", v=v, viewers=viewers)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue