summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/actions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 9db80f6b..20fb2ae9 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -1071,6 +1071,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 
         If path does not exist, it is treated as a directory.
         """
+        path = realpath(path)
         if not os.path.exists(path):
             file_selection = None
             if create_directory: