aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/plugin_pmount.py1
1 files changed, 1 insertions, 0 deletions
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 = '<alt>M'
LIST_MOUNTS_KEY = '<alt>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))