summary refs log tree commit diff stats
path: root/examples/plugin_linemode.py
diff options
context:
space:
mode:
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")