diff --git a/bot/tasks/afc_statistics.py b/bot/tasks/afc_statistics.py index 511b277..e3cf2e5 100644 --- a/bot/tasks/afc_statistics.py +++ b/bot/tasks/afc_statistics.py @@ -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)