summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/actions.py b/ranger/actions.py
index 085bc36e..cc99934b 100644
--- a/ranger/actions.py
+++ b/ranger/actions.py
@@ -343,8 +343,8 @@ class Actions(EnvironmentAware, SettingsAware):
 		if isinstance(text, Exception):
 			if ranger.debug:
 				raise
-			text = str(text)
 			bad = True
+		text = str(text)
 		self.log.appendleft(text)
 		if hasattr(self.ui, 'notify'):
 			self.ui.notify(text, duration=duration, bad=bad)