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 b3b8f50b..1167dab5 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -879,7 +879,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): pager = self.ui.get_pager() path = file.realpath - if not path: + if not path or not os.path.exists(path): return None if self.settings.preview_images and file.image: |