From 6af8e606926dffa70727b53b84fd76b5b8836477 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 17 Aug 2023 02:17:21 +0300 Subject: [PATCH] Revert "try random bullshit to fix posting on wpd" This reverts commit f575c37b40f7a2e318b75087a2763bd871828050. --- files/routes/posts.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index a8d22b7db..feedd534a 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -658,9 +658,8 @@ def submit_post(v, sub=None): autojanny.comment_count += 1 g.db.add(autojanny) - if SITE != 'watchpeopledie.tv': - v.post_count = g.db.query(Post).filter_by(author_id=v.id, deleted_utc=0).count() - g.db.add(v) + v.post_count = g.db.query(Post).filter_by(author_id=v.id, deleted_utc=0).count() + g.db.add(v) execute_lawlz_actions(v, p)