From 0555b2b349c42bd83e4dd5af2c0ca241f212266a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 24 Jul 2024 10:19:15 -0300 Subject: Fix: plugin: opener: searcher: file: name: cleanup --- packages/finder/plugin/searcher/file/name.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'packages') diff --git a/packages/finder/plugin/searcher/file/name.py b/packages/finder/plugin/searcher/file/name.py index 2df4963..97bba89 100644 --- a/packages/finder/plugin/searcher/file/name.py +++ b/packages/finder/plugin/searcher/file/name.py @@ -31,9 +31,8 @@ class FinderPluginFileNameSearcher(): self.path = path self.items = [] - async def finder(self, path = ''): - if path == '': - path = self.path + async def finder(self): + path = self.path for parent, dirs, files in os.walk(self.path): # Ignore Git folders -- cgit v1.2.3