diff options
author | The Flying Rapist <admin@nosuck.org> | 2016-07-10 14:45:07 -0400 |
---|---|---|
committer | The Flying Rapist <admin@nosuck.org> | 2016-07-10 14:45:07 -0400 |
commit | ab6643976a91e2517af224e6c2ab99f631660cd7 (patch) | |
tree | 6e28db42d1601b029340ea60effbb01fd96d3e0e | |
parent | 4fb579e87b4db55842f1f34eae74da17a03d0ed8 (diff) | |
download | ranger-ab6643976a91e2517af224e6c2ab99f631660cd7.tar.gz |
Command chaining now handles semicolon whitespace.
-rwxr-xr-x | ranger/config/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py index 7507b2b1..a5117696 100755 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -195,7 +195,7 @@ class chain(Command): Calls multiple commands at once, separated by semicolons. """ def execute(self): - for command in self.rest(1).split(";"): + for command in [s.strip() for s in self.rest(1).split(";")]: self.fm.execute_console(command) |