summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-06-18 19:53:35 +0200
committerhut <hut@lepus.uberspace.de>2016-06-18 19:53:35 +0200
commit9248f5d81088387f1705b12e5e739bd7ec01c9a8 (patch)
treeba8772c4c4fb23f0e4e6701f6da0f30208489c03 /examples
parentab41c7766ced3f1b8f6b4ed317f0db4e0d71b897 (diff)
parentdded3cb8862d91bf20c5f8e4a4dd37b108c7b8ab (diff)
downloadranger-9248f5d81088387f1705b12e5e739bd7ec01c9a8.tar.gz
Merge branch 'E301' of https://github.com/stepshal/ranger
Diffstat (limited to 'examples')
-rw-r--r--examples/plugin_ipc.py1
-rw-r--r--examples/plugin_linemode.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/plugin_ipc.py b/examples/plugin_ipc.py
index cda10c59..47fb1c84 100644
--- a/examples/plugin_ipc.py
+++ b/examples/plugin_ipc.py
@@ -24,6 +24,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 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")