This commit is contained in:
Aevann1 2021-08-13 04:04:26 +02:00
parent 774647c7e8
commit 310c468afa
4 changed files with 5 additions and 5 deletions

View file

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