Explorar el Código

afc_statistics: Made a typo

main
Ben Kurtovic hace 5 años
padre
commit
25afe6c010
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      tasks/afc_statistics.py

+ 2
- 2
tasks/afc_statistics.py Ver fichero

@@ -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:


Cargando…
Cancelar
Guardar