about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-09-30 23:36:41 +0200
committerhut <hut@lavabit.com>2011-09-30 23:36:41 +0200
commit04f0e96ff0a0e234b638e1567baccaacf8e443b5 (patch)
tree7e22eac30e91735106d676978b6ee5db4ed2103f /ranger
parent793876961734f8cd1867409b552485b4b19c9c26 (diff)
downloadranger-04f0e96ff0a0e234b638e1567baccaacf8e443b5.tar.gz
gui.widgets.browsercolumn: moved import out of loop
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/browsercolumn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 801b79fd..2c865cbe 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -21,6 +21,7 @@ from time import time
 from . import Widget
 from .pager import Pager
 from ranger.fsobject import BAD_INFO
+from ranger.ext.widestring import WideString
 
 class BrowserColumn(Pager):
 	main_column = False
@@ -276,7 +277,6 @@ class BrowserColumn(Pager):
 				this_color.append(drawn.exists and 'good' or 'bad')
 
 			string = drawn.basename
-			from ranger.ext.widestring import WideString
 			wtext = WideString(text)
 			if len(wtext) > space:
 				wtext = wtext[:space - 1] + ellipsis