瀏覽代碼

Fix logic.

pull/24/head
Ben Kurtovic 10 年之前
父節點
當前提交
b90e5e7279
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      copyvios/checker.py

+ 1
- 1
copyvios/checker.py 查看文件

@@ -129,7 +129,7 @@ def _get_cached_results(page, conn, query, mode):

def _do_copyvio_compare(query, page, url):
result = page.copyvio_compare(url, min_confidence=T_SUSPECT, max_time=30)
if url and result.source_chain is not EMPTY:
if not url or result.source_chain is not EMPTY:
return result
query.error = "timeout" if result.time > 30 else "no data"



Loading…
取消
儲存