summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--ranger/fsobject/directory.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/TODO b/TODO
index 7b124a93..15a0f652 100644
--- a/TODO
+++ b/TODO
@@ -32,7 +32,7 @@ Bugs
    (X) #18  10/01/01  fix notify widget (by adding a LogView?)
    (X) #19  10/01/01  resizing after pressing g
    (X) #23  10/01/04  stop dir loading with ^C -> wont load anymore
-   ( ) #25  10/01/06  directories sometimes dont reload correctly
+   (X) #25  10/01/06  directories sometimes dont reload correctly
    ( ) #26  10/01/06  :delete on symlinks of directories fails
    ( ) #31  10/01/06  ^C breaks cd-after-exit
 
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py
index 40e8caa9..817f5603 100644
--- a/ranger/fsobject/directory.py
+++ b/ranger/fsobject/directory.py
@@ -139,7 +139,7 @@ class Directory(FileSystemObject, Accumulator, SettingsAware):
 					filenames.append(join(self.path, fname))
 				yield
 
-				self.load_content_mtime = os.lstat(self.path).st_mtime
+				self.load_content_mtime = os.stat(self.path).st_mtime
 
 				marked_paths = set(map( \
 						lambda obj: obj.path, self.marked_items))
@@ -335,7 +335,7 @@ class Directory(FileSystemObject, Accumulator, SettingsAware):
 			return True
 
 		try:
-			real_mtime = os.lstat(self.path).st_mtime
+			real_mtime = os.stat(self.path).st_mtime
 		except OSError:
 			real_mtime = None
 		if self.stat: