mirror of https://github.com/CIRCL/lookyloo
fix: wrong delete call
parent
ac4b81e880
commit
a80a5425fa
|
@ -131,7 +131,7 @@ class CapturesIndex(Mapping):
|
|||
|
||||
def reload_cache(self, uuid: str) -> None:
|
||||
if uuid in self.__cache:
|
||||
self.redis.hdel(str(self.__cache[uuid].capture_dir))
|
||||
self.redis.delete(str(self.__cache[uuid].capture_dir))
|
||||
del self.__cache[uuid]
|
||||
|
||||
def remove_pickle(self, uuid: str) -> None:
|
||||
|
|
Loading…
Reference in New Issue