summary refs log tree commit diff stats
path: root/examples/plugin_linemode.py
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2015-06-02 16:10:56 +0200
committerhut <hut@lepus.uberspace.de>2015-06-02 16:10:56 +0200
commit4cd48ead34d04a7cad41d012ee5670db9c90ed08 (patch)
tree7d98519b2f12dfd2340379fe4638baefb5291011 /examples/plugin_linemode.py
parent984845bac7a6cc142e676557685daa66a468494e (diff)
parentdff0e71b2aa0c4f74816db0ffdd0c662836652cf (diff)
downloadranger-4cd48ead34d04a7cad41d012ee5670db9c90ed08.tar.gz
Merge branch 'flat_path_fixes' of https://github.com/Vifon/ranger
Diffstat (limited to 'examples/plugin_linemode.py')
-rw-r--r--examples/plugin_linemode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/plugin_linemode.py b/examples/plugin_linemode.py
index e4513f5d..8a92552e 100644
--- a/examples/plugin_linemode.py
+++ b/examples/plugin_linemode.py
@@ -13,4 +13,4 @@ from ranger.core.linemode import LinemodeBase
 class MyLinemode(LinemodeBase):
     name = "rot13"
     def filetitle(self, file, metadata):
-        return codecs.encode(file.basename, "rot_13")
+        return codecs.encode(file.relative_path, "rot_13")
e' href='/danisanti/profani-tty/commit/.gitignore?id=d95ceeb394bb834768ec6daa371003f7d201b089'>d95ceeb3 ^
1814dcdd ^
b1375328 ^



c182f3ec ^
b1375328 ^


41fe8c22 ^
b1375328 ^





68ed20f1 ^





b1375328 ^


e94b604b ^
e0dfe483 ^
b1375328 ^


e0dfe483 ^

d944e825 ^


9d782fa6 ^
1bc69418 ^




a308f5e4 ^

9d782fa6 ^
7bc160c2 ^
1bc69418 ^




b68d2ce1 ^

1bc69418 ^

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