Parcourir la source

Fix --autoassess with no argument.

tags/v0.3
Ben Kurtovic il y a 7 ans
Parent
révision
7b294d1dad
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      earwigbot/tasks/wikiproject_tagger.py

+ 1
- 1
earwigbot/tasks/wikiproject_tagger.py Voir le fichier

@@ -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:


Chargement…
Annuler
Enregistrer