summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-02-17 19:33:55 +0100
committerhut <hut@lavabit.com>2010-02-19 00:40:11 +0100
commit8cffc5a4788af51d2c910c8616fabe44e3888ec1 (patch)
treedb154e2ac2fe2412cf5059a03af31fd93b9b5c50 /ranger
parent014c41843fa326d7f8163ceca4fa7b99c4d3dd91 (diff)
downloadranger-8cffc5a4788af51d2c910c8616fabe44e3888ec1.tar.gz
actions: use str() in fm.notify
Diffstat (limited to 'ranger')
-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)