fix 500 error

pull/225/head
Aevann 2024-02-23 20:30:09 +02:00
parent 39a30d8c01
commit ae9dc814b9
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
or any(i in target.domain for i in ('forum','community','chan','lemmy','mastodon')) \
or (target.domain in BOOSTED_SITES and not target.url.startswith('/')):
mul = 2
elif target.hole in STEALTH_HOLES | {'highrollerclub'}:
elif target.hole in STEALTH_HOLES + {'highrollerclub'}:
mul = 2
elif target.hole in BOOSTED_HOLES:
mul = 1.25