summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-03-21 10:12:51 +0100
committerhut <hut@lavabit.com>2012-03-21 10:12:51 +0100
commit0dc911f084724af8e5a64508656c9d1ba3d3c38b (patch)
tree3a9a4118b12d9ab5761bb8e606d3015613a9a79e /ranger
parent68fab589d5b0e5b5245d4da6a019502ddc03d3f7 (diff)
downloadranger-0dc911f084724af8e5a64508656c9d1ba3d3c38b.tar.gz
core.actions: fix listing of rifle commands
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 8ce91396..bb38f11d 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -688,7 +688,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 		except:
 			self.ui.browser.draw_info = []
 			return
-		programs = self.rifle.list_commands(target.path, target.mimetype)
+		programs = self.rifle.list_commands([target.path], target.mimetype)
 		programs = ['%s | %s' % program[0:2] for program in programs]
 		self.ui.browser.draw_info = programs