summary refs log tree commit diff stats
path: root/ranger/core/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r--ranger/core/actions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 1fae51b2..2102cf2d 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -293,8 +293,8 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 		elif type(files) not in (list, tuple):
 			files = [files]
 
-		flags = squash_flags(kw.get('flags', ''))
-		if 'c' in flags:
+		flags = kw.get('flags', '')
+		if 'c' in squash_flags(flags):
 			files = [self.fm.env.cf]
 
 		self.signal_emit('execute.before', keywords=kw)