diff options
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r-- | ranger/core/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 9b806d56..c119c501 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -489,7 +489,7 @@ class Actions(FileManagerAware, SettingsAware): if parent.pointer + n < 0: n = 0 - parent.pointer try: - self.thistab.enter_dir(parent.files[parent.pointer+n]) + self.thistab.enter_dir(parent.files[parent.pointer + n]) except IndexError: pass |