From 4bc469ab0471c13dcbd049043a1ed963a7f3ec1c Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 11 Mar 2024 15:50:44 +0300 Subject: [PATCH] dbeug-follow-3 --- resolvers/stat.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resolvers/stat.py b/resolvers/stat.py index a9f88f42..c8c55b6f 100644 --- a/resolvers/stat.py +++ b/resolvers/stat.py @@ -194,9 +194,8 @@ def get_with_stat(q): entity.stat['shouts'] = cols[1] entity.stat['authors'] = cols[2] entity.stat['followers'] = cols[3] - entity.stat['comments'] = cols[4] if is_author: - pass + entity.stat['comments'] = cols[4] # entity.stat['topics'] = cols[5] # entity.stat['rating'] = cols[5] - cols[6] # entity.stat['rating_shouts'] = cols[7] - cols[8]