diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-24 10:19:15 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-24 10:19:15 -0300 |
commit | 0555b2b349c42bd83e4dd5af2c0ca241f212266a (patch) | |
tree | 639726730afcdc85c6b01c34fa9b24f36d9d2f86 | |
parent | 329cc3148e61e150aa26a0fc7b0273a09349dae1 (diff) | |
download | finder-0555b2b349c42bd83e4dd5af2c0ca241f212266a.tar.gz finder-0555b2b349c42bd83e4dd5af2c0ca241f212266a.tar.bz2 |
Fix: plugin: opener: searcher: file: name: cleanup
-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 |