Ben Kurtovic 10 anni fa
parent
commit
73315e3370
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      copyvios/checker.py

+ 1
- 1
copyvios/checker.py Vedi 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
return None
result = page.copyvio_compare(url, min_confidence=T_SUSPECT, max_time=30)
if abs(result.confidence - confidence) < 0.0001:
if abs(result.confidence - confidence) >= 0.0001:
return None

for url, confidence, skipped in data:


Caricamento…
Annulla
Salva