summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorWojciech Siewierski <wojciech.siewierski@onet.pl>2015-02-01 11:18:31 +0100
committerWojciech Siewierski <wojciech.siewierski@onet.pl>2015-02-01 11:18:31 +0100
commit619709a7c10f0b9b84f1c51ec78e158a7e7026a2 (patch)
tree54a6ff87e4a98cca9ff30dfa4770ed9224eb0b6c
parent1e452164dcbc02e4106fc2f90aa02580cf3449e8 (diff)
downloadranger-619709a7c10f0b9b84f1c51ec78e158a7e7026a2.tar.gz
core.actions: tab_switch uses realpath
This way the different representation of the same path are treated in
the same way.
-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:
eam-data.subx?h=hlt&id=fd91f7f61bfa84cbc24590d5394d75891cc1cfcc'>fd91f7f6 ^
71eb22a5 ^
2a2a5b1e ^
fd91f7f6 ^










33352536 ^
bc20cc3d ^
fd91f7f6 ^
bc20cc3d ^
33352536 ^
fd91f7f6 ^


bc20cc3d ^
fd91f7f6 ^


7a583220 ^
33352536 ^

bc20cc3d ^

fd91f7f6 ^
7a583220 ^
33352536 ^

fd91f7f6 ^

bc20cc3d ^
fd91f7f6 ^
bc20cc3d ^
fd91f7f6 ^


686a52bd ^
fd91f7f6 ^
686a52bd ^
fd91f7f6 ^

















bc20cc3d ^
33352536 ^
fd91f7f6 ^
bc20cc3d ^
fd91f7f6 ^

bc20cc3d ^
fd91f7f6 ^
bc20cc3d ^
fd91f7f6 ^


bc20cc3d ^
fd91f7f6 ^
bc20cc3d ^
fd91f7f6 ^
bc20cc3d ^
fd91f7f6 ^

bc20cc3d ^
fd91f7f6 ^


bc20cc3d ^
fd91f7f6 ^
bc20cc3d ^
33352536 ^
7a583220 ^
33352536 ^

bc20cc3d ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114