diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-08-03 00:00:01 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-08-03 00:00:01 -0300 |
commit | e10a1f43f6ef5c80b4384df5801f4804f49a76dd (patch) | |
tree | 3fb339403a512a92ec7fdde676b8fad565954467 | |
parent | 080b07cba6d7d4320330cbccade4df0fea09beea (diff) | |
download | finder-e10a1f43f6ef5c80b4384df5801f4804f49a76dd.tar.gz finder-e10a1f43f6ef5c80b4384df5801f4804f49a76dd.tar.bz2 |
TODO: updates (2)
-rw-r--r-- | TODO.md | 2 | ||||
-rw-r--r-- | packages/finder/main.py | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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() |