fix: wrong delete call

pull/478/head
Raphaël Vinot 2022-07-29 19:08:56 +02:00
parent ac4b81e880
commit a80a5425fa
1 changed files with 1 additions and 1 deletions

View File

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