summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-10-05 19:45:21 +0200
committerhut <hut@lavabit.com>2011-10-05 19:45:21 +0200
commit0546ef7cafa0fa5e11a3f9e76854e42f5676c915 (patch)
treefaac7af205065b0c1361c00e47d53a8b8ac94b6d
parent801dabc8a8a374a361a3db2d739395b000f2fd6e (diff)
downloadranger-0546ef7cafa0fa5e11a3f9e76854e42f5676c915.tar.gz
api.apps: fix bug with undefined apps
-rw-r--r--ranger/api/apps.py2
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