diff --git a/files/helpers/const.py b/files/helpers/const.py index c8eac3f19..1b9b3c640 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -1694,8 +1694,6 @@ if SITE_NAME == 'rDrama': JOAN_ID, } - BOOSTED_USERS_EXCLUDED = {8768, 5214, 12719, 3402} - IMAGE_FORMATS = ['png','gif','jpg','jpeg','webp'] VIDEO_FORMATS = ['mp4','webm','mov','avi','mkv','flv','m4v','3gp'] AUDIO_FORMATS = ['mp3','wav','ogg','aac','m4a','flac'] diff --git a/files/routes/votes.py b/files/routes/votes.py index 5d6d21e4e..b82ba0ded 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -150,7 +150,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): elif cls == Submission: if target.domain.endswith('.win') or (target.domain in BOOSTED_SITES and not target.url.startswith('/')) or target.sub in BOOSTED_HOLES: mul = 2 - elif not target.sub and target.body_html and target.author.id not in BOOSTED_USERS_EXCLUDED: + elif not target.sub and target.body_html and target.author.id not in {8768, 5214, 12719, 3402}: x = target.body_html.count('" target="_blank" rel="nofollow noopener">') x += target.body_html.count('