aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-03 00:00:01 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-03 00:00:01 -0300
commite10a1f43f6ef5c80b4384df5801f4804f49a76dd (patch)
tree3fb339403a512a92ec7fdde676b8fad565954467
parent080b07cba6d7d4320330cbccade4df0fea09beea (diff)
downloadfinder-e10a1f43f6ef5c80b4384df5801f4804f49a76dd.tar.gz
finder-e10a1f43f6ef5c80b4384df5801f4804f49a76dd.tar.bz2
TODO: updates (2)
-rw-r--r--TODO.md2
-rw-r--r--packages/finder/main.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/TODO.md b/TODO.md
index ad8364a..38c58df 100644
--- a/TODO.md
+++ b/TODO.md
@@ -8,6 +8,8 @@
* [ ] `FinderPluginFileNameSearcher.set_path`: check if path exists.
* [ ] `FinderPluginFileXdgOpener.open`: check if file actually exists (and if
it's not a dead symbolic link etc).
+* [ ] `FinderMain.set_handlers()`: handle exception when path is neither file
+ or dir (like a non-existent path).
## UX
diff --git a/packages/finder/main.py b/packages/finder/main.py
index 931f1d4..38b2d26 100644
--- a/packages/finder/main.py
+++ b/packages/finder/main.py
@@ -219,7 +219,6 @@ class FinderMain():
elif os.path.isfile(self.path):
self.searcher = FinderPluginFileLineSearcher(self.path)
else:
- # TODO: exception
pass
self.opener = FinderPluginFileXdgOpener()