From 97cf5c89fed46b22f7826060b8f214d79c98cab9 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 10 Feb 2023 14:03:18 +0200 Subject: [PATCH] fix --- files/routes/posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index f1acf4a66..cd2fda0a7 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -176,7 +176,7 @@ def post_id(pid, anything=None, v=None, sub=None): sort=sort, render_replies=True, offset=offset, sub=post.subr, fart=get_setting('fart_mode')) - if v.id == AEVANN_ID and post.id == 18459: + if v and v.id == AEVANN_ID and post.id == 18459: print(time.time() - t) return x