Browse Source

Whoops.

pull/24/head
Ben Kurtovic 10 years ago
parent
commit
5242d31a93
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      copyvios/checker.py

+ 1
- 1
copyvios/checker.py View File

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


for url, confidence, skipped in data: for url, confidence, skipped in data:


Loading…
Cancel
Save