From 9ec03520b303e1c435ef26dcdce6e3b7f5e9d8ec Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Wed, 9 Nov 2011 18:12:45 -0500 Subject: [PATCH] Fix. --- bot/tasks/afc_statistics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/tasks/afc_statistics.py b/bot/tasks/afc_statistics.py index e3cf2e5..fc672f6 100644 --- a/bot/tasks/afc_statistics.py +++ b/bot/tasks/afc_statistics.py @@ -306,7 +306,7 @@ class Task(BaseTask): namespace = self.site.get_page(title).namespace() status, chart = self.get_status_and_chart(content, namespace) - if not status: + if chart == CHART_NONE: msg = "Could not find a status for [[{0}]]".format(title) self.logger.warn(msg) return