forked from rDrama/rDrama
add BOOSTED_USERS
parent
0c48d4c7e2
commit
d85ac23c3c
|
@ -1614,6 +1614,10 @@ BOOSTED_HOLES = {
|
||||||
'masterbaiters',
|
'masterbaiters',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BOOSTED_USERS = {
|
||||||
|
5800, #Impassionata
|
||||||
|
}
|
||||||
|
|
||||||
IMAGE_FORMATS = ['png','gif','jpg','jpeg','webp']
|
IMAGE_FORMATS = ['png','gif','jpg','jpeg','webp']
|
||||||
VIDEO_FORMATS = ['mp4','webm','mov','avi','mkv','flv','m4v','3gp']
|
VIDEO_FORMATS = ['mp4','webm','mov','avi','mkv','flv','m4v','3gp']
|
||||||
AUDIO_FORMATS = ['mp3','wav','ogg','aac','m4a','flac']
|
AUDIO_FORMATS = ['mp3','wav','ogg','aac','m4a','flac']
|
||||||
|
|
|
@ -145,7 +145,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
||||||
if target.author.progressivestack:
|
if target.author.progressivestack:
|
||||||
mul = 2
|
mul = 2
|
||||||
elif cls == Submission:
|
elif cls == Submission:
|
||||||
if target.domain.endswith('.win') or target.domain in BOOSTED_SITES or target.sub in BOOSTED_HOLES:
|
if target.domain.endswith('.win') or target.domain in BOOSTED_SITES or target.sub in BOOSTED_HOLES or target.author.id in BOOSTED_USERS:
|
||||||
mul = 2
|
mul = 2
|
||||||
elif target.sub:
|
elif target.sub:
|
||||||
mul = 0.7
|
mul = 0.7
|
||||||
|
|
Loading…
Reference in New Issue