summary refs log tree commit diff stats
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
parent6d985a2c49ce554cefc8d2259fc5a61e4be5f94e (diff)
downloadranger-bbbd9cb0033bf376eff1001a0edda4a83546eaab.tar.gz
Catch some rare exception
-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
135'>135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166