summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index cde80431..6449456b 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -157,7 +157,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 		macros['c'] = [fl.path for fl in self.fm.env.copy]
 
 		macros['t'] = [fl.basename for fl in self.fm.env.cwd.files
-				if fl.realpath in self.fm.tags]
+				if fl.realpath in (self.fm.tags or [])]
 
 		if self.fm.env.cwd:
 			macros['d'] = self.fm.env.cwd.path
02298d10ac82be9c6e0cb68c2011'>^
26962ded ^
110dd383 ^








a0e543f8 ^
110dd383 ^

26962ded ^






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