From 1accc8c75011791708cea5c64f2a1970b2a76267 Mon Sep 17 00:00:00 2001 From: Joakim Soderlund Date: Sun, 17 Mar 2019 16:17:28 +0100 Subject: [PATCH] Fix Fimfarchive fetcher not being closable --- fimfarchive/fetchers/fimfarchive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fimfarchive/fetchers/fimfarchive.py b/fimfarchive/fetchers/fimfarchive.py index bd7464e..dc926cd 100644 --- a/fimfarchive/fetchers/fimfarchive.py +++ b/fimfarchive/fetchers/fimfarchive.py @@ -141,7 +141,7 @@ class MemoryIndex(Index): return len(self.data) def close(self): - self.data.close() + self.data.clear() class FimfarchiveFetcher(Fetcher):