diff options
author | hut <hut@lepus.uberspace.de> | 2016-06-18 19:53:35 +0200 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2016-06-18 19:53:35 +0200 |
commit | 9248f5d81088387f1705b12e5e739bd7ec01c9a8 (patch) | |
tree | ba8772c4c4fb23f0e4e6701f6da0f30208489c03 /examples/plugin_linemode.py | |
parent | ab41c7766ced3f1b8f6b4ed317f0db4e0d71b897 (diff) | |
parent | dded3cb8862d91bf20c5f8e4a4dd37b108c7b8ab (diff) | |
download | ranger-9248f5d81088387f1705b12e5e739bd7ec01c9a8.tar.gz |
Merge branch 'E301' of https://github.com/stepshal/ranger
Diffstat (limited to 'examples/plugin_linemode.py')
-rw-r--r-- | examples/plugin_linemode.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/plugin_linemode.py b/examples/plugin_linemode.py index c05ff567..851d6213 100644 --- a/examples/plugin_linemode.py +++ b/examples/plugin_linemode.py @@ -13,5 +13,6 @@ from ranger.core.linemode import LinemodeBase @ranger.api.register_linemode class MyLinemode(LinemodeBase): name = "rot13" + def filetitle(self, file, metadata): return codecs.encode(file.relative_path, "rot_13") |