diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/finder/plugin/searcher/file/name.py | 5 |
1 files changed, 2 insertions, 3 deletions
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 |