Browse Source

Fix.

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

+ 1
- 1
bot/tasks/afc_statistics.py View File

@@ -306,7 +306,7 @@ class Task(BaseTask):


namespace = self.site.get_page(title).namespace() namespace = self.site.get_page(title).namespace()
status, chart = self.get_status_and_chart(content, 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) msg = "Could not find a status for [[{0}]]".format(title)
self.logger.warn(msg) self.logger.warn(msg)
return return


Loading…
Cancel
Save