From 396a21c4a88f80346503c485ca40250c1f0557ab Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 19 Nov 2011 16:49:27 -0500 Subject: [PATCH] CHART_ -> STATUS_ --- bot/tasks/afc_history.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot/tasks/afc_history.py b/bot/tasks/afc_history.py index 6792546..2ab9f4b 100644 --- a/bot/tasks/afc_history.py +++ b/bot/tasks/afc_history.py @@ -122,13 +122,13 @@ class Task(BaseTask): ns = page.namespace() if ns == wiki.NS_FILE_TALK: # Ignore accepted FFU requests - return CHART_NONE + return STATUS_NONE if ns == wiki.NS_TALK: new_page = page.toggle_talk() if new_page.is_redirect(): - return CHART_NONE # Ignore accepted AFC/R requests - return CHART_ACCEPT + return STATUS_NONE # Ignore accepted AFC/R requests + return STATUS_ACCEPT cats = self.categories query = "SELECT 1 FROM categorylinks WHERE cl_from = ? AND cl_to = ?"