try random bullshit to fix posting on wpd

master
Aevann 2023-08-17 00:25:16 +03:00
parent 4e5b0f5276
commit f575c37b40
1 changed files with 3 additions and 2 deletions

View File

@ -658,8 +658,9 @@ def submit_post(v, sub=None):
autojanny.comment_count += 1
g.db.add(autojanny)
v.post_count = g.db.query(Post).filter_by(author_id=v.id, deleted_utc=0).count()
g.db.add(v)
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)
execute_lawlz_actions(v, p)