forked from rDrama/rDrama
Update votes.py
parent
0c0cad0723
commit
62ef32c9c5
|
@ -153,7 +153,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
|||
mul = 2
|
||||
elif target.sub and target.sub not in ('space','istory','dino','slackernews'):
|
||||
mul = 0.7
|
||||
elif not target.sub and len(target.body) > 2000:
|
||||
elif not target.sub and target.body_html:
|
||||
x = target.body_html.count('" target="_blank" rel="nofollow noopener">')
|
||||
x += target.body_html.count('<a href="/images/')
|
||||
mul = 1 + x/20
|
||||
|
|
Loading…
Reference in New Issue