summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/gui/widgets/statusbar.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py
index e1cba8eb..2f3c67cf 100644
--- a/ranger/gui/widgets/statusbar.py
+++ b/ranger/gui/widgets/statusbar.py
@@ -80,7 +80,10 @@ class StatusBar(Widget):
 
 		if self.env.cf:
 			self.env.cf.load_if_outdated()
-			ctime = self.env.cf.stat.st_ctime
+			try:
+				ctime = self.env.cf.stat.st_ctime
+			except:
+				ctime = -1
 		else:
 			ctime = -1