diff options
author | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2015-02-01 11:18:31 +0100 |
---|---|---|
committer | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2015-02-01 11:18:31 +0100 |
commit | 619709a7c10f0b9b84f1c51ec78e158a7e7026a2 (patch) | |
tree | 54a6ff87e4a98cca9ff30dfa4770ed9224eb0b6c /ranger | |
parent | 1e452164dcbc02e4106fc2f90aa02580cf3449e8 (diff) | |
download | ranger-619709a7c10f0b9b84f1c51ec78e158a7e7026a2.tar.gz |
core.actions: tab_switch uses realpath
This way the different representation of the same path are treated in the same way.
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/actions.py | 1 |
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: |