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