Ver código fonte

CHART_ -> STATUS_

tags/v0.1^2
Ben Kurtovic 13 anos atrás
pai
commit
396a21c4a8
1 arquivos alterados com 3 adições e 3 exclusões
  1. +3
    -3
      bot/tasks/afc_history.py

+ 3
- 3
bot/tasks/afc_history.py Ver arquivo

@@ -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 = ?"


Carregando…
Cancelar
Salvar