summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/helper.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ranger/core/helper.py b/ranger/core/helper.py
index 1c6460d1..677b0a11 100644
--- a/ranger/core/helper.py
+++ b/ranger/core/helper.py
@@ -95,7 +95,9 @@ def load_settings(fm, clean):
 
 		# Load commands
 		comcont = ranger.api.commands.CommandContainer()
-		comcont.load_commands_from_object(fm, dir(Actions))
+		exclude = ['settings']
+		include = [name for name in dir(Actions) if name not in exclude]
+		comcont.load_commands_from_object(fm, include)
 		ranger.api.commands.alias = comcont.alias
 		try:
 			import commands
67a308922fc1a1a6972b00fcc37909a028ce'>bb0e67a3 ^
6e36ce06 ^
bb0e67a3 ^



6e36ce06 ^
bb0e67a3 ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28