From 599dbbeec490f416e64b421c1f463c72cd6674d5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 27 Jul 2024 20:55:02 -0300 Subject: Fix: plugin: opener: searcher: cleanup --- packages/finder/plugin/searcher/file/name.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/finder/plugin/searcher/file/name.py b/packages/finder/plugin/searcher/file/name.py index 9f35ea5..571c0dc 100644 --- a/packages/finder/plugin/searcher/file/name.py +++ b/packages/finder/plugin/searcher/file/name.py @@ -51,10 +51,6 @@ class FinderPluginFileNameSearcher(): if cached: if os.path.exists(self.cache) and os.path.isfile(self.cache): with open(self.cache, 'r') as f: - # Update the folder list in the background - walker = asyncio.create_task(self.walker()) - - # Meanwhile, return the items from cache self.items = json.load(f) return self.items -- cgit v1.2.3