diff options
author | hut <hut@lavabit.com> | 2010-01-07 01:22:17 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-01-07 01:22:17 +0100 |
commit | f5db66a1795d97c9f80d31b41a9607ce5cd0242b (patch) | |
tree | 59b90a2053228de596ee5ff2ef4901d625067bf3 /ranger/fsobject/directory.py | |
parent | 3db854eee17ff7e9c29319be04f8ae2b3e966bbf (diff) | |
download | ranger-f5db66a1795d97c9f80d31b41a9607ce5cd0242b.tar.gz |
random cleanups and fixes
Diffstat (limited to 'ranger/fsobject/directory.py')
-rw-r--r-- | ranger/fsobject/directory.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py index 1079d126..40e8caa9 100644 --- a/ranger/fsobject/directory.py +++ b/ranger/fsobject/directory.py @@ -139,6 +139,8 @@ class Directory(FileSystemObject, Accumulator, SettingsAware): filenames.append(join(self.path, fname)) yield + self.load_content_mtime = os.lstat(self.path).st_mtime + marked_paths = set(map( \ lambda obj: obj.path, self.marked_items)) @@ -185,7 +187,6 @@ class Directory(FileSystemObject, Accumulator, SettingsAware): self.last_update_time = time() finally: - self.load_content_mtime = os.lstat(self.path).st_mtime self.loading = False def unload(self): |