From 3e1a26ed82a6c3e250f105ba4ce176c646b6119e Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Wed, 19 Jun 2013 04:10:09 -0400 Subject: [PATCH] Follow redirects when sending notices. --- tasks/drn_clerkbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/drn_clerkbot.py b/tasks/drn_clerkbot.py index 995994a..a65f181 100644 --- a/tasks/drn_clerkbot.py +++ b/tasks/drn_clerkbot.py @@ -646,7 +646,7 @@ class DRNClerkBot(Task): target, template = notice.target, notice.template log = u"Trying to notify [[{0}]] with '{1}'" self.logger.debug(log.format(target, template)) - page = site.get_page(target) + page = site.get_page(target, follow_redirects=True) if page.namespace == constants.NS_USER_TALK: user = site.get_user(target.split(":", 1)[1]) if not user.exists and not user.is_ip: