diff --git a/files/routes/comments.py b/files/routes/comments.py index cd7e22b24..727652885 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -138,7 +138,7 @@ def api_comment(v): if request.content_length > 8 * 1024 * 1024: return "Max file size is 8 MB.", 413 elif request.content_length > 4 * 1024 * 1024: return "Max file size is 4 MB.", 413 - if v.agendaposter and random.randint(1, 10) < 7: + if v.agendaposter and random.randint(1, 10) < 3: if request.host == 'rdrama.net': return redirect(random.choice(['https://secure.actblue.com/donate/ms_blm_homepage_2019','https://rdrama.net/post/19711/a-short-guide-on-how-to','https://secure.transequality.org/site/Donation2?df_id=1480'])) return redirect('https://secure.actblue.com/donate/ms_blm_homepage_2019') diff --git a/files/routes/posts.py b/files/routes/posts.py index 03ca5deeb..d483fb2f4 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -104,7 +104,7 @@ def post_id(pid, anything=None, v=None): if v and request.path.startswith('/logged_out'): v = None - if v and v.agendaposter and random.randint(1, 10) < 7: + if v and v.agendaposter and random.randint(1, 10) < 3: if request.host == 'rdrama.net': return redirect(random.choice(['https://secure.actblue.com/donate/ms_blm_homepage_2019','https://rdrama.net/post/19711/a-short-guide-on-how-to','https://secure.transequality.org/site/Donation2?df_id=1480'])) return redirect('https://secure.actblue.com/donate/ms_blm_homepage_2019') @@ -525,7 +525,7 @@ def submit_post(v): if request.content_length > 8 * 1024 * 1024: return "Max file size is 8 MB.", 413 elif request.content_length > 4 * 1024 * 1024: return "Max file size is 4 MB.", 413 - if v.agendaposter and random.randint(1, 10) < 7: + if v.agendaposter and random.randint(1, 10) < 3: if request.host == 'rdrama.net': return redirect(random.choice(['https://secure.actblue.com/donate/ms_blm_homepage_2019','https://rdrama.net/post/19711/a-short-guide-on-how-to','https://secure.transequality.org/site/Donation2?df_id=1480'])) return redirect('https://secure.actblue.com/donate/ms_blm_homepage_2019')