aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-27 20:58:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-27 20:58:58 -0300
commit727d0afbd1cf5e83740f99c0774ec3a43090762d (patch)
tree2eaba7a2fe3e2d33fcec0558143e15dc2c4227b2 /packages
parent599dbbeec490f416e64b421c1f463c72cd6674d5 (diff)
downloadfinder-727d0afbd1cf5e83740f99c0774ec3a43090762d.tar.gz
finder-727d0afbd1cf5e83740f99c0774ec3a43090762d.tar.bz2
Fix: plugin: opener: searcher: small refactor
Diffstat (limited to 'packages')
-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