mirror of https://github.com/CIRCL/lookyloo
chg: That wil teach me not to use mypy
parent
8b5ce7986b
commit
ac4b81e880
|
@ -131,7 +131,7 @@ class CapturesIndex(Mapping):
|
||||||
|
|
||||||
def reload_cache(self, uuid: str) -> None:
|
def reload_cache(self, uuid: str) -> None:
|
||||||
if uuid in self.__cache:
|
if uuid in self.__cache:
|
||||||
self.redis.hdel(self.__cache[uuid].capture_dir)
|
self.redis.hdel(str(self.__cache[uuid].capture_dir))
|
||||||
del self.__cache[uuid]
|
del self.__cache[uuid]
|
||||||
|
|
||||||
def remove_pickle(self, uuid: str) -> None:
|
def remove_pickle(self, uuid: str) -> None:
|
||||||
|
|
Loading…
Reference in New Issue