diff options
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 8a92552e..be34e6c5 100644 --- a/examples/plugin_linemode.py +++ b/examples/plugin_linemode.py @@ -12,5 +12,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") |