This commit is contained in:
Aevann1 2021-10-01 22:11:44 +02:00
parent 8ca6e7cc33
commit 505ea818f7
4 changed files with 7 additions and 7 deletions

View file

@ -86,7 +86,7 @@ def post_id(pid, anything=None, v=None):
if not v and not request.path.startswith('/logged_out') and not request.headers.get("Authorization"): return redirect(f"/logged_out{request.full_path}")
if v and request.full_path.startswith('/logged_out'): v = None
if v and request.path.startswith('/logged_out'): v = None
try: pid = int(pid)
except Exception as e: pass