aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-27 20:55:02 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-27 20:55:02 -0300
commit599dbbeec490f416e64b421c1f463c72cd6674d5 (patch)
treec67d3b690828824d752ec635a79a92c95d929e5e /packages
parentce1c8893fe9fc0f42aed295fbf3f4ca8455b3a40 (diff)
downloadfinder-599dbbeec490f416e64b421c1f463c72cd6674d5.tar.gz
finder-599dbbeec490f416e64b421c1f463c72cd6674d5.tar.bz2
Fix: plugin: opener: searcher: cleanup
Diffstat (limited to 'packages')
-rw-r--r--packages/finder/plugin/searcher/file/name.py4
1 files changed, 0 insertions, 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