diff --git a/earwigbot/wiki/copyvios/result.py b/earwigbot/wiki/copyvios/result.py index 26f4d59..d664965 100644 --- a/earwigbot/wiki/copyvios/result.py +++ b/earwigbot/wiki/copyvios/result.py @@ -42,10 +42,9 @@ class CopyvioSource(object): - :py:attr:`skipped`: whether this URL was skipped during the check """ - def __init__(self, workspace, url, key, headers=None, timeout=5): + def __init__(self, workspace, url, headers=None, timeout=5): self.workspace = workspace self.url = url - self.key = key self.headers = headers self.timeout = timeout self.confidence = 0.0 diff --git a/earwigbot/wiki/copyvios/workers.py b/earwigbot/wiki/copyvios/workers.py index 2030b78..88c0c38 100644 --- a/earwigbot/wiki/copyvios/workers.py +++ b/earwigbot/wiki/copyvios/workers.py @@ -323,7 +323,7 @@ class CopyvioWorkspace(object): from urlparse import urlparse key = u".".join(urlparse(url).netloc.split(".")[-2:]) - source = CopyvioSource(url=url, key=key, **self._source_args) + source = CopyvioSource(url=url, **self._source_args) self.sources.append(source) logmsg = u"enqueue(): {0} {1} -> {2}" if key in self._queues.sites: