fdssfd
This commit is contained in:
parent
ea40fbbb87
commit
8dc6f8b235
1 changed files with 5 additions and 0 deletions
|
@ -104,6 +104,11 @@ def post_id(pid, anything=None, v=None):
|
||||||
|
|
||||||
if v and request.path.startswith('/logged_out'): v = None
|
if v and request.path.startswith('/logged_out'): v = None
|
||||||
|
|
||||||
|
if v.agendaposter and random.randint(1, 10) < 7:
|
||||||
|
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')
|
||||||
|
|
||||||
try: pid = int(pid)
|
try: pid = int(pid)
|
||||||
except Exception as e: pass
|
except Exception as e: pass
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue