diff options
author | hut <hut@lavabit.com> | 2011-04-19 18:12:05 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-04-19 18:12:23 +0200 |
commit | 7c33d7792efa6c4a1e56310c18ff04a721a2ea50 (patch) | |
tree | 0cf0fcc3f183f6050aebdc39af5a0cd29496b41d /ranger/core/actions.py | |
parent | 47c394e3836699c5920965fee4c20d7a20343b32 (diff) | |
download | ranger-7c33d7792efa6c4a1e56310c18ff04a721a2ea50.tar.gz |
use lazy_property for Directory.size/infostring
for more passive and faster loading of directories
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r-- | ranger/core/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 4ea4cfbf..89bd9389 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -206,7 +206,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): if not self.env.enter_dir(cf) and selection: if self.execute_file(selection, mode=mode) is False: self.open_console('open_with ') - elif direction.vertical(): + elif direction.vertical() and cwd.files: newpos = direction.move( direction=direction.down(), override=narg, |