From 4cdfafd487b08ffbe600690f6bbd2147984065dd Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 26 Jan 2015 18:03:01 -0600 Subject: [PATCH] Skip site check. --- earwigbot/wiki/copyvios/exclusions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/wiki/copyvios/exclusions.py b/earwigbot/wiki/copyvios/exclusions.py index 5f33198..aa7d90f 100644 --- a/earwigbot/wiki/copyvios/exclusions.py +++ b/earwigbot/wiki/copyvios/exclusions.py @@ -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: