Browse Source

Handle empty URLs better.

tags/v0.2
Ben Kurtovic 10 years ago
parent
commit
0438766ee4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      earwigbot/wiki/copyvios/workers.py

+ 1
- 1
earwigbot/wiki/copyvios/workers.py View File

@@ -354,7 +354,7 @@ class CopyvioWorkspace(object):
with self._queues.lock: with self._queues.lock:
if self._is_finished: if self._is_finished:
break break
if url in self._handled_urls:
if not url or url in self._handled_urls:
continue continue
self._handled_urls.append(url) self._handled_urls.append(url)
if exclude_check and exclude_check(url): if exclude_check and exclude_check(url):


Loading…
Cancel
Save