Pārlūkot izejas kodu

Skip site check.

tags/v0.2
Ben Kurtovic pirms 10 gadiem
vecāks
revīzija
4cdfafd487
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      earwigbot/wiki/copyvios/exclusions.py

+ 1
- 1
earwigbot/wiki/copyvios/exclusions.py Parādīt failu

@@ -91,7 +91,7 @@ class ExclusionsDB(object):
except exceptions.PageNotFoundError:
return urls

if site == "enwiki" and source == "User:EranBot/Copyright/Blacklist":
if source == "User:EranBot/Copyright/Blacklist":
for line in data.splitlines()[1:]:
line = re.sub(r"(#|==).*$", "", line).strip()
if line:


Notiek ielāde…
Atcelt
Saglabāt