summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2015-02-06 18:02:52 +0100
committerhut <hut@lepus.uberspace.de>2015-02-06 18:02:52 +0100
commit382c1438458163ea3fb1c57c853ee7af1be84a99 (patch)
tree204aadac60356e5f4cf695e19c2e5819dfb4f95c
parent8545ec6101ba09cc27ef6183d1f7b3c7c9643a63 (diff)
parent619709a7c10f0b9b84f1c51ec78e158a7e7026a2 (diff)
downloadranger-382c1438458163ea3fb1c57c853ee7af1be84a99.tar.gz
Merge branch 'tab_switch_realpath' of https://github.com/Vifon/ranger
-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: