diff options
author | stepshal <nessento@openmailbox.org> | 2016-06-16 17:44:13 +0700 |
---|---|---|
committer | stepshal <nessento@openmailbox.org> | 2016-06-16 17:44:13 +0700 |
commit | dded3cb8862d91bf20c5f8e4a4dd37b108c7b8ab (patch) | |
tree | 9a98e0e6ebcbe543179759155996cf249c9e03ed /examples | |
parent | 7c760ac0256aa1d27433e8f410ae014be2da2334 (diff) | |
download | ranger-dded3cb8862d91bf20c5f8e4a4dd37b108c7b8ab.tar.gz |
Add one blank line where is expected
Diffstat (limited to 'examples')
-rw-r--r-- | examples/plugin_ipc.py | 1 | ||||
-rw-r--r-- | examples/plugin_linemode.py | 1 |
2 files changed, 2 insertions, 0 deletions
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") |