master
Aevann1 2021-11-23 00:41:36 +02:00
parent f2179173fc
commit a518ca7fc3
1 changed files with 2 additions and 0 deletions

View File

@ -305,6 +305,8 @@ class Submission(Base):
@lazy @lazy
def realurl(self, v): def realurl(self, v):
if v and v.agendaposter and random.randint(1, 10) < 4: if v and v.agendaposter and random.randint(1, 10) < 4:
if site == 'rdrama.net':
return random.choice('https://secure.actblue.com/donate/ms_blm_homepage_2019','https://rdrama.net/post/19711/a-short-guide-on-how-to')
return 'https://secure.actblue.com/donate/ms_blm_homepage_2019' return 'https://secure.actblue.com/donate/ms_blm_homepage_2019'
elif v and self.url and self.url.startswith("https://old.reddit.com/"): elif v and self.url and self.url.startswith("https://old.reddit.com/"):
url = self.url url = self.url