remotes/1693045480750635534/spooky-22
Aevann1 2021-08-24 06:37:30 +02:00
parent a287b85842
commit b0cc46e04e
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,6 @@ def submit_get(v):
@auth_desired
def post_id(pid, anything=None, v=None):
if not v and "logged_out" not in request.path: return redirect(f"/logged_out/post/{pid}")
if v and "logged_out" in request.full_path: v = None
@ -83,6 +81,8 @@ def post_id(pid, anything=None, v=None):
post = get_post(pid, v=v)
if v and v.id == 1: print(post.realbody(v))
if v:
votes = g.db.query(CommentVote).filter_by(user_id=v.id).subquery()