exclude slackernews from hole nerf

remotes/1693176582716663532/tmp_refs/heads/watchparty
Aevann1 2022-11-11 15:37:40 +02:00
parent e0b6b67645
commit 1b4856e20f
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
elif cls == Submission:
if target.domain.endswith('.win') or target.domain in BOOSTED_SITES or target.sub in BOOSTED_HOLES:
mul = 2
elif target.sub and target.sub not in ('space', 'istory', 'dino'):
elif target.sub and target.sub not in ('space','istory','dino','slackernews'):
mul = 0.7
elif not target.sub and len(target.body) > 2000:
mul = 1 + len(target.body)/5000