From e02ff2d5dbc57d5498f33a152c49867169a3f972 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Wed, 9 Nov 2011 18:02:10 -0500 Subject: [PATCH] Fix get_status_and_chart(content, namespace) --- bot/tasks/afc_statistics.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)