diff options
author | hut <hut@lavabit.com> | 2010-03-31 05:11:39 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-31 05:11:39 +0200 |
commit | e6710b99555c3a7e0d80c0c19f8474ac4a5dcc0a (patch) | |
tree | 9452b3fd1aebd93e64c02900303594786833207a /ranger | |
parent | 96479abb595b8c6c30b1473ada2b78777c7e5f4c (diff) | |
download | ranger-e6710b99555c3a7e0d80c0c19f8474ac4a5dcc0a.tar.gz |
fsobject.directory: don't load if it doesnt exist
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/fsobject/directory.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py index 6eedcb0c..86e78b33 100644 --- a/ranger/fsobject/directory.py +++ b/ranger/fsobject/directory.py @@ -397,6 +397,7 @@ class Directory(FileSystemObject, Accumulator, SettingsAware): real_mtime = os.stat(self.path).st_mtime except OSError: real_mtime = None + return False if self.stat: cached_mtime = self.load_content_mtime else: |