forked from MarseyWorld/MarseyWorld
remove /h/slackernews from the boost
parent
163c241fa6
commit
e5046c9f20
|
@ -127,7 +127,7 @@ def vote_post(post_id, new, v):
|
||||||
post.realupvotes = g.db.query(Vote).filter_by(submission_id=post.id, real=True).count()
|
post.realupvotes = g.db.query(Vote).filter_by(submission_id=post.id, real=True).count()
|
||||||
|
|
||||||
if post.author.progressivestack \
|
if post.author.progressivestack \
|
||||||
or post.sub in ('slackernews','space','istory','dinos') \
|
or post.sub in ('space','istory','dinos') \
|
||||||
or post.domain.endswith('.win'):
|
or post.domain.endswith('.win'):
|
||||||
post.realupvotes *= 2
|
post.realupvotes *= 2
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue