about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorWojciech Siewierski <wojciech.siewierski@onet.pl>2016-06-22 16:45:27 +0200
committerWojciech Siewierski <wojciech.siewierski@onet.pl>2016-06-22 16:45:27 +0200
commit73a594d599256cc5c7a2cf0c9fe08428f2f9ab12 (patch)
treebd2f751dda6291afe15ffc576ade6547a6f1bae0
parent7dab5e8e37bde31875ffb3f9b198473495644692 (diff)
downloadranger-73a594d599256cc5c7a2cf0c9fe08428f2f9ab12.tar.gz
Reintroduce some changes from cbe0062 after reverting it
-rw-r--r--ranger/core/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/core/main.py b/ranger/core/main.py
index dcded8d7..2966b999 100644
--- a/ranger/core/main.py
+++ b/ranger/core/main.py
@@ -304,6 +304,7 @@ def load_settings(fm, clean):
             for plugin in sorted(plugins):
                 try:
                     module = __import__('plugins', fromlist=[plugin])
+                    fm.commands.load_commands_from_module(module)
                     fm.log.append("Loaded plugin '%s'." % plugin)
                 except Exception as e:
                     fm.log.append("Error in plugin '%s'" % plugin)