about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-02-26 03:03:34 +0100
committerhut <hut@lavabit.com>2010-02-27 04:39:54 +0100
commitbbbd9cb0033bf376eff1001a0edda4a83546eaab (patch)
tree5cf106eb2940a7c9cc859e08c2381081650e89bb /ranger
parent6d985a2c49ce554cefc8d2259fc5a61e4be5f94e (diff)
downloadranger-bbbd9cb0033bf376eff1001a0edda4a83546eaab.tar.gz
Catch some rare exception
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/browserview.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/gui/widgets/browserview.py b/ranger/gui/widgets/browserview.py
index 5287ebb6..2aae75da 100644
--- a/ranger/gui/widgets/browserview.py
+++ b/ranger/gui/widgets/browserview.py
@@ -76,10 +76,10 @@ class BrowserView(Widget, DisplayableContainer):
 			except:
 				pass
 		else:
-			x = self.main_column.x
-			y = self.main_column.y + self.main_column.target.pointer\
-					- self.main_column.scroll_begin
 			try:
+				x = self.main_column.x
+				y = self.main_column.y + self.main_column.target.pointer\
+						- self.main_column.scroll_begin
 				self.fm.ui.win.move(y, x)
 			except:
 				pass