diff options
-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() |