From d62b138439bd9b72002a4053ba9cc44fd80f4029 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 6 Dec 2021 17:05:17 +0200 Subject: [PATCH] sdfsfd --- 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 d08357e951..c4e86702ae 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -190,7 +190,7 @@ def post_id(pid, anything=None, v=None): offset = 0 - if len(comments) > 60: + if post.comment_count > 60: comments2 = [] count = 0 if post.created_utc > 1638672040: