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