From a36e4560b2036633005a08a598dd3a29ab9b8481 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Thu, 9 Aug 2012 21:48:00 -0400 Subject: [PATCH] Fix a minor bug. --- earwigbot/tasks/drn_clerkbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/tasks/drn_clerkbot.py b/earwigbot/tasks/drn_clerkbot.py index 528ddd3..d2a4204 100644 --- a/earwigbot/tasks/drn_clerkbot.py +++ b/earwigbot/tasks/drn_clerkbot.py @@ -649,7 +649,7 @@ class DRNClerkBot(Task): self.logger.debug(log.format(target, template)) page = site.get_page(target) if page.namespace == constants.NS_USER_TALK: - user = site.get_user(target.split(":", 1)[1:]) + user = site.get_user(target.split(":", 1)[1]) if not user.exists and not user.is_ip: log = u"Skipping [[{0}]]; user does not exist and is not an IP" self.logger.info(log.format(target))