From dded3cb8862d91bf20c5f8e4a4dd37b108c7b8ab Mon Sep 17 00:00:00 2001 From: stepshal Date: Thu, 16 Jun 2016 17:44:13 +0700 Subject: Add one blank line where is expected --- examples/plugin_ipc.py | 1 + examples/plugin_linemode.py | 1 + 2 files changed, 2 insertions(+) (limited to 'examples') diff --git a/examples/plugin_ipc.py b/examples/plugin_ipc.py index a9e79205..cfb546fa 100644 --- a/examples/plugin_ipc.py +++ b/examples/plugin_ipc.py @@ -22,6 +22,7 @@ def hook_init(fm): import thread except ImportError: import _thread as thread + def ipc_reader(filepath): while True: with open(filepath, 'r') as fifo: 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") -- cgit 1.4.1-2-gfad0