summary refs log tree commit diff stats
path: root/ranger/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/actions.py')
-rw-r--r--ranger/actions.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/ranger/actions.py b/ranger/actions.py
index f773a79b..f02e3cb4 100644
--- a/ranger/actions.py
+++ b/ranger/actions.py
@@ -20,7 +20,6 @@ import ranger
 from ranger.shared import EnvironmentAware, SettingsAware
 from ranger import fsobject
 from ranger.gui.widgets import console_mode as cmode
-from ranger.applications import run
 from ranger.fsobject import File
 
 class Actions(EnvironmentAware, SettingsAware):
@@ -247,10 +246,10 @@ class Actions(EnvironmentAware, SettingsAware):
 		elif type(files) not in (list, tuple):
 			files = [files]
 
-		return run(fm=self, files=list(files), **kw)
+		return self.run(files=list(files), **kw)
 
 	def execute_command(self, cmd, **kw):
-		return run(fm=self, action=cmd, **kw)
+		return self.run(cmd, **kw)
 	
 	def edit_file(self, file=None):
 		"""Calls execute_file with the current file and app='editor'"""
a> 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139