aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.md2
-rw-r--r--packages/finder/plugin/searcher/file/name.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/TODO.md b/TODO.md
index bdbf21c..ba590d7 100644
--- a/TODO.md
+++ b/TODO.md
@@ -3,7 +3,7 @@
## Improvements
* [ ] Abstract/generalize plugin load logic.
-* [ ] `FinderPluginFileNameSearcher.setPath`: check if path exists.
+* [ ] `FinderPluginFileNameSearcher.set_path`: check if path exists.
* [ ] `FinderPluginFileXdgOpener.open`: check if file actually exists (and if
it's not a dead symbolic link etc).
diff --git a/packages/finder/plugin/searcher/file/name.py b/packages/finder/plugin/searcher/file/name.py
index 4388a70..9d02173 100644
--- a/packages/finder/plugin/searcher/file/name.py
+++ b/packages/finder/plugin/searcher/file/name.py
@@ -23,10 +23,10 @@ import re
class FinderPluginFileNameSearcher():
def __init__(self, path):
- self.setPath(path)
+ self.set_path(path)
self.items = []
- def setPath(self, path):
+ def set_path(self, path):
self.path = path
self.items = []