From 8cffc5a4788af51d2c910c8616fabe44e3888ec1 Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 17 Feb 2010 19:33:55 +0100 Subject: actions: use str() in fm.notify --- ranger/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.4.1-2-gfad0