summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/runner.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/core/runner.py b/ranger/core/runner.py
index baec1595..ba6d82a8 100644
--- a/ranger/core/runner.py
+++ b/ranger/core/runner.py
@@ -41,7 +41,7 @@ from subprocess import Popen, PIPE
 from ranger.ext.get_executables import get_executables
 
 
-ALLOWED_FLAGS = 'sdpwcartSDPWCART'
+ALLOWED_FLAGS = 'sdpwcrtSDPWCRT'
 
 
 def press_enter():
@@ -208,9 +208,9 @@ class Runner(object):
 			if term not in get_executables():
 				term = 'xterm'
 			if isinstance(action, str):
-				action = term+' -e '+action
+				action = term + ' -e ' + action
 			else:
-				action = [term,'-e']+action
+				action = [term, '-e'] + action
 			toggle_ui = False
 			context.wait = False