summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-24 14:57:14 +0100
committerhut <hut@lavabit.com>2009-12-24 14:57:14 +0100
commitf430499170204931fdf886da118dc8e4765c925c (patch)
treed3912abb75d477d3fdf25140ad82bceb56f9abef
parentd35bac82e6ebdbd12701f868efb104ea54c316eb (diff)
downloadranger-f430499170204931fdf886da118dc8e4765c925c.tar.gz
fixed directory.load_content_if_outdated with links
the wrong mtime has been compared
-rw-r--r--ranger/fsobject/directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py
index b83e1592..52c4cc60 100644
--- a/ranger/fsobject/directory.py
+++ b/ranger/fsobject/directory.py
@@ -332,7 +332,7 @@ class Directory(SuperClass, SettingsAware):
 			return True
 
 		import os
-		real_mtime = os.stat(self.path).st_mtime
+		real_mtime = os.lstat(self.path).st_mtime
 		cached_mtime = self.stat.st_mtime
 
 		if real_mtime != cached_mtime: