瀏覽代碼

Whoops.

pull/24/head
Ben Kurtovic 10 年之前
父節點
當前提交
5242d31a93
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      copyvios/checker.py

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

@@ -143,7 +143,7 @@ def _get_cached_results(page, conn, mode):
if skipped: # Should be impossible: data must be bad; run a new check
return None
result = page.copyvio_compare(url, min_confidence=T_SUSPECT, max_time=30)
if result.confidence - confidence < 0.0001:
if abs(result.confidence - confidence) < 0.0001:
return None

for url, confidence, skipped in data:


Loading…
取消
儲存