aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/finder/plugin/searcher/file/name.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/finder/plugin/searcher/file/name.py b/packages/finder/plugin/searcher/file/name.py
index b6319fe..85bacbd 100644
--- a/packages/finder/plugin/searcher/file/name.py
+++ b/packages/finder/plugin/searcher/file/name.py
@@ -49,8 +49,7 @@ class FinderPluginFileNameSearcher():
self.items = json.load(f)
# Then update the folder list in the background
- async with asyncio.TaskGroup() as tg:
- walker = tg.create_task(self.walker())
+ walker = asyncio.create_task(self.walker())
return self.items