summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-11-06 16:53:16 +0100
committerhut <hut@lavabit.com>2010-11-22 02:34:42 +0100
commitf44c4a886d8a984b6297a7847f87ef0e469e785b (patch)
tree136f6eb22fdcd477aa4489ce4a9eb2bed16c67c2 /ranger
parentf05a2eda194142de77a62acb12fecc2ec6386c48 (diff)
downloadranger-f44c4a886d8a984b6297a7847f87ef0e469e785b.tar.gz
widgets.statusbar: Reload permissions of current file on change
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/statusbar.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py
index 6fff7383..c51af0ff 100644
--- a/ranger/gui/widgets/statusbar.py
+++ b/ranger/gui/widgets/statusbar.py
@@ -78,9 +78,10 @@ class StatusBar(Widget):
 				self.msg = None
 				self.need_redraw = True
 
-		try:
+		if self.env.cf:
+			self.env.cf.load_if_outdated()
 			ctime = self.env.cf.stat.st_ctime
-		except:
+		else:
 			ctime = -1
 
 		if not self.result: