Explorar el Código

Auto-bypass cache when cache_possible_miss is True.

pull/24/head
Ben Kurtovic hace 10 años
padre
commit
0f4ecfe80a
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      copyvios/checker.py

+ 2
- 0
copyvios/checker.py Ver fichero

@@ -139,6 +139,8 @@ def _get_cached_results(page, conn, mode, noskip):
if not results:
return None
cache_time, queries, check_time, possible_miss = results[0]
if possible_miss and noskip:
return None
cursor.execute(query3, (cache_id,))
data = cursor.fetchall()



Cargando…
Cancelar
Guardar