diff options
author | hut <hut@lavabit.com> | 2011-10-05 19:45:21 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-05 19:45:21 +0200 |
commit | 0546ef7cafa0fa5e11a3f9e76854e42f5676c915 (patch) | |
tree | faac7af205065b0c1361c00e47d53a8b8ac94b6d /ranger | |
parent | 801dabc8a8a374a361a3db2d739395b000f2fd6e (diff) | |
download | ranger-0546ef7cafa0fa5e11a3f9e76854e42f5676c915.tar.gz |
api.apps: fix bug with undefined apps
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/api/apps.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/api/apps.py b/ranger/api/apps.py index dc4918d8..f1fcba62 100644 --- a/ranger/api/apps.py +++ b/ranger/api/apps.py @@ -100,7 +100,7 @@ class Applications(FileManagerAware): handler = getattr(self, 'app_' + app) except AttributeError: if app in get_executables(): - return _generic_app(app, context) + return [app] + list(context) handler = self.app_default arguments = handler(context) # flatten |