diff options
author | hut <hut@lavabit.com> | 2010-11-06 16:53:16 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-11-22 02:34:42 +0100 |
commit | f44c4a886d8a984b6297a7847f87ef0e469e785b (patch) | |
tree | 136f6eb22fdcd477aa4489ce4a9eb2bed16c67c2 /ranger | |
parent | f05a2eda194142de77a62acb12fecc2ec6386c48 (diff) | |
download | ranger-f44c4a886d8a984b6297a7847f87ef0e469e785b.tar.gz |
widgets.statusbar: Reload permissions of current file on change
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/widgets/statusbar.py | 5 |
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: |