aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/finder/plugin/searcher/file/name.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/finder/plugin/searcher/file/name.py b/packages/finder/plugin/searcher/file/name.py
index 571c0dc..60453a6 100644
--- a/packages/finder/plugin/searcher/file/name.py
+++ b/packages/finder/plugin/searcher/file/name.py
@@ -59,7 +59,7 @@ class FinderPluginFileNameSearcher():
else:
# Update the folder list
- await self.walker()
+ self.items = await self.walker()
# Update the cache
os.makedirs(os.path.dirname(self.cache), exist_ok=True)
@@ -106,4 +106,4 @@ class FinderPluginFileNameSearcher():
items.append(os.path.join(parent, file))
- self.items = items
+ return items