From cf27b8bd6611e828ce72278424d8f7440828ef21 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 26 Jan 2023 08:47:31 +0200 Subject: [PATCH] fix 500 error --- files/routes/votes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/votes.py b/files/routes/votes.py index b1804c1d3..4efc14fc5 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -169,7 +169,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): mul = PROGSTACK_MUL elif target.author.progressivestack or (target.author.admin_level and target.author.id not in {AEVANN_ID, CARP_ID}): mul = 2 - elif SITE == 'rdrama.net' and cls == Submission and target.author.id not in {8768,3402,5214,12719}: + elif SITE == 'rdrama.net' and cls == Submission and target.author.id not in {8768,3402,3377,5214,12719}: if (target.domain.endswith('.win') or 'forum' in target.domain or (target.domain in BOOSTED_SITES and not target.url.startswith('/')) or target.sub in BOOSTED_HOLES):