浏览代码

Fix get_status_and_chart(content, namespace)

tags/v0.1^2
Ben Kurtovic 12 年前
父节点
当前提交
e02ff2d5db
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      bot/tasks/afc_statistics.py

+ 2
- 1
bot/tasks/afc_statistics.py 查看文件

@@ -304,7 +304,8 @@ class Task(BaseTask):
self.logger.error(msg)
return

status, chart = self.get_status_and_chart(content)
namespace = self.site.get_page(title).namespace()
status, chart = self.get_status_and_chart(content, namespace)
if not status:
msg = "Could not find a status for [[{0}]]".format(title)
self.logger.warn(msg)


正在加载...
取消
保存