aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-24 10:19:15 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-24 10:19:15 -0300
commit0555b2b349c42bd83e4dd5af2c0ca241f212266a (patch)
tree639726730afcdc85c6b01c34fa9b24f36d9d2f86
parent329cc3148e61e150aa26a0fc7b0273a09349dae1 (diff)
downloadfinder-0555b2b349c42bd83e4dd5af2c0ca241f212266a.tar.gz
finder-0555b2b349c42bd83e4dd5af2c0ca241f212266a.tar.bz2
Fix: plugin: opener: searcher: file: name: cleanup
-rw-r--r--packages/finder/plugin/searcher/file/name.py5
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