瀏覽代碼

CHART_ -> STATUS_

tags/v0.1^2
Ben Kurtovic 13 年之前
父節點
當前提交
396a21c4a8
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      bot/tasks/afc_history.py

+ 3
- 3
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 = ?"


Loading…
取消
儲存