about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/container/bookmarks.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/container/bookmarks.py b/ranger/container/bookmarks.py
index e1a88fa2..20809c10 100644
--- a/ranger/container/bookmarks.py
+++ b/ranger/container/bookmarks.py
@@ -92,8 +92,7 @@ class Bookmarks(FileManagerAware):
             if os.path.isdir(value.path):
                 return value
             else:
-                del self[key]
-                raise KeyError("Invalid Bookmark: `%s'!" % key)
+                raise KeyError("Cannot open bookmark: `%s'!" % key)
         else:
             raise KeyError("Nonexistant Bookmark: `%s'!" % key)