Pārlūkot izejas kodu

Fix --autoassess with no argument.

tags/v0.3
Ben Kurtovic pirms 7 gadiem
vecāks
revīzija
7b294d1dad
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      earwigbot/tasks/wikiproject_tagger.py

+ 1
- 1
earwigbot/tasks/wikiproject_tagger.py Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt