From 0438766ee4413fd24e2371fc3358b8403cbbe4ec Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 1 Sep 2014 23:49:47 -0500 Subject: [PATCH] Handle empty URLs better. --- earwigbot/wiki/copyvios/workers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/wiki/copyvios/workers.py b/earwigbot/wiki/copyvios/workers.py index 5b43380..abb015e 100644 --- a/earwigbot/wiki/copyvios/workers.py +++ b/earwigbot/wiki/copyvios/workers.py @@ -354,7 +354,7 @@ class CopyvioWorkspace(object): with self._queues.lock: if self._is_finished: break - if url in self._handled_urls: + if not url or url in self._handled_urls: continue self._handled_urls.append(url) if exclude_check and exclude_check(url):