Sfoglia il codice sorgente

Fix get_status_and_chart(content, namespace)

tags/v0.1^2
Ben Kurtovic 12 anni fa
parent
commit
e02ff2d5db
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      bot/tasks/afc_statistics.py

+ 2
- 1
bot/tasks/afc_statistics.py Vedi File

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


Caricamento…
Annulla
Salva