From de2bd771b176c5fc0a5ae5c586daaefb103f5d1c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 23 Nov 2021 00:49:06 +0200 Subject: [PATCH] dfs --- files/classes/submission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/submission.py b/files/classes/submission.py index 19e5ae30d..2fb2efced 100644 --- a/files/classes/submission.py +++ b/files/classes/submission.py @@ -306,7 +306,7 @@ class Submission(Base): def realurl(self, v): 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 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' elif v and self.url and self.url.startswith("https://old.reddit.com/"): url = self.url