Преглед на файлове

Auto-bypass cache when cache_possible_miss is True.

pull/24/head
Ben Kurtovic преди 9 години
родител
ревизия
0f4ecfe80a
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. +2
    -0
      copyvios/checker.py

+ 2
- 0
copyvios/checker.py Целия файл

@@ -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()



Зареждане…
Отказ
Запис