浏览代码

Handle empty URLs better.

tags/v0.2
Ben Kurtovic 10 年前
父节点
当前提交
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):


正在加载...
取消
保存