Sfoglia il codice sorgente

Skip site check.

tags/v0.2
Ben Kurtovic 9 anni fa
parent
commit
4cdfafd487
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      earwigbot/wiki/copyvios/exclusions.py

+ 1
- 1
earwigbot/wiki/copyvios/exclusions.py Vedi File

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


Caricamento…
Annulla
Salva