fix: Properly initialize set

pull/909/head
Raphaël Vinot 2024-04-11 18:02:09 +02:00
parent 694c06017f
commit 8fc4017021
1 changed files with 1 additions and 1 deletions

View File

@ -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]]: