about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-06-16 21:07:52 +0200
committerhut <hut@lavabit.com>2012-06-16 21:07:52 +0200
commita9e6e3709d54cb495cc30384a48c534b691cb088 (patch)
tree984b9a3727761d9e908bed681847ba509d0966f6
parent5aac03b4b405d30c973fb9d853ee2caffeac7013 (diff)
downloadranger-a9e6e3709d54cb495cc30384a48c534b691cb088.tar.gz
widgets.browsercolumn: fixed names with broken unicode surrogates
-rw-r--r--ranger/gui/widgets/browsercolumn.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 453ad5a8..76a3b6b3 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -101,10 +101,7 @@ class BrowserColumn(Pager):
 		for entry in commands:
 			text, attr = entry
 			self.win.attrset(attr)
-			try:
-				self.win.addstr(text)
-			except:
-				pass
+			self.addstr(text)
 
 	def has_preview(self):
 		if self.target is None: