summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorM Rawash <mrawash@gmail.com>2011-12-19 08:47:05 +0200
committerM Rawash <mrawash@gmail.com>2011-12-19 09:29:29 +0200
commita87bf3e07a77ca167d33435abefdf22b10a13656 (patch)
tree75eabca7f3a6a32fc59dddef3c0289d4de2ea2cb
parentfc17126a6a0ab436c757c545fa55e87ccd89635c (diff)
downloadranger-a87bf3e07a77ca167d33435abefdf22b10a13656.tar.gz
core/runner.py: removed the 'a' flag from ALLOWED_FLAGS
-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