Browse Source

Fix a minor bug.

tags/v0.1^2
Ben Kurtovic 12 years ago
parent
commit
a36e4560b2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      earwigbot/tasks/drn_clerkbot.py

+ 1
- 1
earwigbot/tasks/drn_clerkbot.py View File

@@ -649,7 +649,7 @@ class DRNClerkBot(Task):
self.logger.debug(log.format(target, template)) self.logger.debug(log.format(target, template))
page = site.get_page(target) page = site.get_page(target)
if page.namespace == constants.NS_USER_TALK: 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: if not user.exists and not user.is_ip:
log = u"Skipping [[{0}]]; user does not exist and is not an IP" log = u"Skipping [[{0}]]; user does not exist and is not an IP"
self.logger.info(log.format(target)) self.logger.info(log.format(target))


Loading…
Cancel
Save