diff options
-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: |