summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/api/apps.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/api/apps.py b/ranger/api/apps.py
index d2e9ac4f..91aae357 100644
--- a/ranger/api/apps.py
+++ b/ranger/api/apps.py
@@ -121,7 +121,8 @@ class Applications(FileManagerAware):
 		flags = 'flags' in keywords and keywords['flags'] or ""
 		for name in args:
 			assert isinstance(name, str)
-			setattr(cls, "app_" + name, _generic_wrapper(name, flags=flags))
+			if not hasattr(cls, "app_" + name):
+				setattr(cls, "app_" + name, _generic_wrapper(name, flags=flags))
 
 
 def tup(*args):
ation' href='/akspecs/ranger/commit/HACKING?h=v1.9.0b6&id=f8f6f7f94b3c0a1da2d8abb38cf23ca127dd28a4'>f8f6f7f9 ^
1881922f ^




1881922f ^




7bf5f967 ^
1881922f ^

f8f6f7f9 ^



7bf5f967 ^
f8f6f7f9 ^


176e8a68 ^
f8f6f7f9 ^
eb7b0a7b ^
f8f6f7f9 ^




f8f6f7f9 ^

29028631 ^

176e8a68 ^
3ee05c16 ^

f8f6f7f9 ^
f8f6f7f9 ^
176e8a68 ^
f8f6f7f9 ^





f8f6f7f9 ^




7bf5f967 ^

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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76