瀏覽代碼

Handle empty URLs better.

tags/v0.2
Ben Kurtovic 9 年之前
父節點
當前提交
0438766ee4
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      earwigbot/wiki/copyvios/workers.py

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


Loading…
取消
儲存