diff options
author | hut <hut@lavabit.com> | 2010-10-13 00:39:16 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-10-13 00:40:59 +0200 |
commit | a9046bfc42cb3b8e2d7276fea0fc3934caa9bbda (patch) | |
tree | 95fda59f64b7d7cab7efdfb7c71e9d7b6854372f /ranger/core | |
parent | aa488bd940265362c530ec6f62033ceb2b56d10a (diff) | |
download | ranger-a9046bfc42cb3b8e2d7276fea0fc3934caa9bbda.tar.gz |
core.actions: Fixed handling of scope.sh exit code 2
Diffstat (limited to 'ranger/core')
-rw-r--r-- | ranger/core/actions.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 3382b7b1..297de576 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -612,6 +612,8 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): elif exit == 1: data[(-1, -1)] = None data['foundpreview'] = False + elif exit == 2: + data[(-1, -1)] = open(path, 'r').read(1024 * 32) else: data[(-1, -1)] = None if self.env.cf.realpath == path: |