Rename ranking constant by Capy request.
parent
db329f487f
commit
23ff5450d6
|
@ -1665,16 +1665,16 @@ if SITE_NAME == 'rDrama':
|
|||
'anime',
|
||||
'gaybros',
|
||||
'againsthateholes',
|
||||
'schizocel',
|
||||
'masterbaiters',
|
||||
'changelog',
|
||||
}
|
||||
|
||||
BOOSTED_HOLES_UNNERFED = {
|
||||
UNNERFED_HOLES = {
|
||||
'space',
|
||||
'istory',
|
||||
'dino',
|
||||
'slackernews',
|
||||
'schizocel',
|
||||
}
|
||||
|
||||
BOOSTED_USERS = {
|
||||
|
|
|
@ -150,7 +150,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
|||
elif cls == Submission and target.author.id not in BOOSTED_USERS_EXCLUDED:
|
||||
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 BOOSTED_HOLES_UNNERFED:
|
||||
elif target.sub and target.sub not in UNNERFED_HOLES:
|
||||
mul = 0.7
|
||||
elif not target.sub and target.body_html:
|
||||
x = target.body_html.count('" target="_blank" rel="nofollow noopener">')
|
||||
|
|
Loading…
Reference in New Issue