Sfoglia il codice sorgente

CHART_ -> STATUS_

tags/v0.1^2
Ben Kurtovic 13 anni fa
parent
commit
396a21c4a8
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +3
    -3
      bot/tasks/afc_history.py

+ 3
- 3
bot/tasks/afc_history.py Vedi File

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


Caricamento…
Annulla
Salva