From 82d9cc7b2fe4464a14e25c888c3cea65e9fc6a58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Sun, 7 Mar 2021 13:25:23 +0100 Subject: [PATCH] fix: Properly rebuild indexed captures --- bin/rebuild_caches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rebuild_caches.py b/bin/rebuild_caches.py index f6e1aaa7..83113e4d 100755 --- a/bin/rebuild_caches.py +++ b/bin/rebuild_caches.py @@ -35,7 +35,7 @@ def main(): cache = lookyloo.capture_cache(capture_uuid) if not cache: continue - if cache.no_index is not None: + if cache.no_index: index = False # NOTE: these methods do nothing if we just generated the pickle when calling lookyloo.get_crawled_tree