Browse Source

Fix get_status_and_chart(content, namespace)

tags/v0.1^2
Ben Kurtovic 13 years ago
parent
commit
e02ff2d5db
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      bot/tasks/afc_statistics.py

+ 2
- 1
bot/tasks/afc_statistics.py View 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)


Loading…
Cancel
Save