diff options
author | hut <hut@lavabit.com> | 2010-03-31 06:23:33 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-31 06:23:33 +0200 |
commit | 2b6374131b0b9a4bbadc377c256815ca2e2d7f89 (patch) | |
tree | c805182c54b99d2123901f41efad313eb961ae6b /ranger/fsobject/directory.py | |
parent | a99d50191fd37ce2aeb979f2026cdd74ccb5d4d9 (diff) | |
download | ranger-2b6374131b0b9a4bbadc377c256815ca2e2d7f89.tar.gz |
fsobject.directory: don't load unaccessible directories!
Diffstat (limited to 'ranger/fsobject/directory.py')
-rw-r--r-- | ranger/fsobject/directory.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py index 8f9dd1cf..79e32bff 100644 --- a/ranger/fsobject/directory.py +++ b/ranger/fsobject/directory.py @@ -241,6 +241,10 @@ class Directory(FileSystemObject, Accumulator, SettingsAware): if not self.loading: self.load_once() + if not self.accessible: + self.content_loaded = True + return + if schedule is None: schedule = True # was: self.size > 30 |