瀏覽代碼

Fix a minor bug.

tags/v0.1^2
Ben Kurtovic 12 年之前
父節點
當前提交
a36e4560b2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      earwigbot/tasks/drn_clerkbot.py

+ 1
- 1
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))


Loading…
取消
儲存