jesus christ im an idiot

This commit is contained in:
Aevann1 2022-03-03 22:22:23 +02:00
parent f06fee1414
commit 87e4bb59df
4 changed files with 13 additions and 0 deletions

View file

@ -71,6 +71,8 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None, sub=None):
if not v and not request.path.startswith('/logged_out'): return redirect(f"{SITE_FULL}/logged_out{request.full_path}")
if v and request.path.startswith('/logged_out'): v = None
try: cid = int(cid)
except: abort(404)