diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-27 20:58:58 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-27 20:58:58 -0300 |
commit | 727d0afbd1cf5e83740f99c0774ec3a43090762d (patch) | |
tree | 2eaba7a2fe3e2d33fcec0558143e15dc2c4227b2 | |
parent | 599dbbeec490f416e64b421c1f463c72cd6674d5 (diff) | |
download | finder-727d0afbd1cf5e83740f99c0774ec3a43090762d.tar.gz finder-727d0afbd1cf5e83740f99c0774ec3a43090762d.tar.bz2 |
Fix: plugin: opener: searcher: small refactor
-rw-r--r-- | packages/finder/plugin/searcher/file/name.py | 4 |
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 |