This commit is contained in:
Aevann1 2021-08-13 20:53:11 +02:00
parent ea20a19339
commit ca17f0da6b
7 changed files with 18 additions and 12 deletions

View file

@ -54,7 +54,7 @@ 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: return redirect(f"/post/{pid}")
if v and "logged_out" in request.full_path: v = None
try: pid = int(pid)
except Exception as e: pass