From d0f4e2c56af9e0e6452289fd136bb3c9934af225 Mon Sep 17 00:00:00 2001 From: Nathaniel Date: Sat, 7 Jul 2018 19:10:47 -0700 Subject: 2 lines around function definition --- examples/plugin_pmount.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/plugin_pmount.py b/examples/plugin_pmount.py index 3079b5a3..f5bd1c67 100644 --- a/examples/plugin_pmount.py +++ b/examples/plugin_pmount.py @@ -23,6 +23,7 @@ UMOUNT_KEY = 'M' LIST_MOUNTS_KEY = 'n' HOOK_INIT_OLD = ranger.api.hook_init + def hook_init(fm): fm.execute_console("map {key} shell -p lsblk".format(key=LIST_MOUNTS_KEY)) -- cgit 1.4.1-2-gfad0