From 727d0afbd1cf5e83740f99c0774ec3a43090762d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 27 Jul 2024 20:58:58 -0300 Subject: Fix: plugin: opener: searcher: small refactor --- packages/finder/plugin/searcher/file/name.py | 4 ++-- 1 file 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 -- cgit v1.2.3