diff options
author | hut <hut@lepus.uberspace.de> | 2015-06-02 16:10:56 +0200 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2015-06-02 16:10:56 +0200 |
commit | 4cd48ead34d04a7cad41d012ee5670db9c90ed08 (patch) | |
tree | 7d98519b2f12dfd2340379fe4638baefb5291011 /examples/plugin_linemode.py | |
parent | 984845bac7a6cc142e676557685daa66a468494e (diff) | |
parent | dff0e71b2aa0c4f74816db0ffdd0c662836652cf (diff) | |
download | ranger-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.py | 2 |
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") |