summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/config/commands.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index 7268dbab..bc6e674c 100644
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -202,7 +202,8 @@ class shell(Command):
 			flags = ''
 			command = self.rest(1)
 
-		if not command and 'p' in flags: command = 'cat %f'
+		if not command and 'p' in flags:
+			command = 'cat %f'
 		if command:
 			if '%' in command:
 				command = self.fm.substitute_macros(command)
@@ -413,7 +414,7 @@ class setlocal(set_):
 
 	Gives an option a new value.
 	"""
-	PATH_RE=re.compile(r'^\s*path="?(.*?)"?\s*$')
+	PATH_RE = re.compile(r'^\s*path="?(.*?)"?\s*$')
 	def execute(self):
 		import os.path
 		match = self.PATH_RE.match(self.arg(1))