summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/fm.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/ranger/core/fm.py b/ranger/core/fm.py
index 1ba0e187..d3460ebb 100644
--- a/ranger/core/fm.py
+++ b/ranger/core/fm.py
@@ -78,8 +78,10 @@ class FM(Actions, SignalDispatcher):
 			self.ui = UI()
 			self.ui.initialize()
 
-		self.rifle.hook_before_executing = lambda a, b, flags: self.ui.suspend() if 'f' not in flags else None
-		self.rifle.hook_after_executing = lambda a, b, flags: self.ui.initialize() if 'f' not in flags else None
+		self.rifle.hook_before_executing = lambda a, b, flags: \
+			self.ui.suspend() if 'f' not in flags else None
+		self.rifle.hook_after_executing = lambda a, b, flags: \
+			self.ui.initialize() if 'f' not in flags else None
 		self.rifle.hook_logger = self.notify
 
 		def mylogfunc(text):