Explorar el Código

CHART_ -> STATUS_

tags/v0.1^2
Ben Kurtovic hace 13 años
padre
commit
396a21c4a8
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. +3
    -3
      bot/tasks/afc_history.py

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

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


Cargando…
Cancelar
Guardar