瀏覽代碼

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:


Loading…
取消
儲存