Browse Source

afc_statistics: Made a typo

main
Ben Kurtovic 5 years ago
parent
commit
25afe6c010
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tasks/afc_statistics.py

+ 2
- 2
tasks/afc_statistics.py View File

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


statistics = self._compile_charts() statistics = self._compile_charts()
for name, chart in statistics.iteritems(): 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.""" """Save a statistics chart to a single page."""
page = self.site.get_page(u"{}/{}".format(self.pageroot, name)) page = self.site.get_page(u"{}/{}".format(self.pageroot, name))
try: try:


Loading…
Cancel
Save