Explorar el Código

Fix --autoassess with no argument.

tags/v0.3
Ben Kurtovic hace 6 años
padre
commit
7b294d1dad
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      earwigbot/tasks/wikiproject_tagger.py

+ 1
- 1
earwigbot/tasks/wikiproject_tagger.py Ver fichero

@@ -355,7 +355,7 @@ class WikiProjectTagger(Task):

Return (assessed class as a string or None, assessment reason or None).
"""
if only_classes is None:
if only_classes is None or only_classes is True:
classnames = ["a", "b", "book", "c", "dab", "fa", "fl", "ga",
"list", "redirect", "start", "stub"]
else:


Cargando…
Cancelar
Guardar