forked from MarseyWorld/MarseyWorld
sdfdsf
parent
86e939a112
commit
06c44fd4b8
|
@ -387,7 +387,7 @@ def following(username, v):
|
|||
@app.get("/views")
|
||||
@auth_required
|
||||
def visitors(v):
|
||||
if v.admin_level < 1 and not v.patron: return render_template("errors/patron.html", v=v)
|
||||
if request.host == 'rdrama.net' and 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…
Reference in New Issue