浏览代码

afc_statistics: Made a typo

main
Ben Kurtovic 5 年前
父节点
当前提交
25afe6c010
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      tasks/afc_statistics.py

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

@@ -140,9 +140,9 @@ class AFCStatistics(Task):

statistics = self._compile_charts()
for name, chart in statistics.iteritems():
self._save_page(name, chart)
self._save_page(name, chart, summary)

def _save_page(self, name, chart):
def _save_page(self, name, chart, summary):
"""Save a statistics chart to a single page."""
page = self.site.get_page(u"{}/{}".format(self.pageroot, name))
try:


正在加载...
取消
保存