瀏覽代碼

Skip site check.

tags/v0.2
Ben Kurtovic 10 年之前
父節點
當前提交
4cdfafd487
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      earwigbot/wiki/copyvios/exclusions.py

+ 1
- 1
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:


Loading…
取消
儲存