From 8fc40170212fd0d26bd4033b31b2388460f077e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 11 Apr 2024 18:02:09 +0200 Subject: [PATCH] fix: Properly initialize set --- lookyloo/indexing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lookyloo/indexing.py b/lookyloo/indexing.py index 270079c2..6ddcdc88 100644 --- a/lookyloo/indexing.py +++ b/lookyloo/indexing.py @@ -389,7 +389,7 @@ class Indexing(): return sha256(to_hash).hexdigest()[:32] def captures_hashes_types(self) -> set[str]: - return set('certpl_html_structure_hash') + return {'certpl_html_structure_hash'} # return self.redis.smembers('capture_hash_types') def captures_hashes(self, hash_type: str) -> list[tuple[str, float]]: