about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-24 19:51:30 +0100
committerhut <hut@lavabit.com>2010-01-24 19:51:30 +0100
commitcedb55349e75e36696ca275ee98d0a902d3286e7 (patch)
treefc8b5ee436fcb592fb41245cc0852f5767211928
parent4f1a6e67b5a29f30bb3c5bc0e26938c8a6d3ff90 (diff)
downloadranger-cedb55349e75e36696ca275ee98d0a902d3286e7.tar.gz
bugfix
-rw-r--r--ranger/actions.py2
-rw-r--r--ranger/gui/widgets/console.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/ranger/actions.py b/ranger/actions.py
index f02e3cb4..406faf64 100644
--- a/ranger/actions.py
+++ b/ranger/actions.py
@@ -237,7 +237,7 @@ class Actions(EnvironmentAware, SettingsAware):
 	def execute_file(self, files, **kw):
 		"""Execute a file.
 		app is the name of a method in Applications, without the "app_"
-		flags is a string consisting of applications.ALLOWED_FLAGS
+		flags is a string consisting of runner.ALLOWED_FLAGS
 		mode is a positive integer.
 		Both flags and mode specify how the program is run."""
 
diff --git a/ranger/gui/widgets/console.py b/ranger/gui/widgets/console.py
index 094a5c17..0b4f76c7 100644
--- a/ranger/gui/widgets/console.py
+++ b/ranger/gui/widgets/console.py
@@ -542,7 +542,7 @@ class QuickOpenConsole(ConsoleWithTab):
 		return self.fm.apps.has(arg)
 
 	def _is_flags(self, arg):
-		from ranger.applications import ALLOWED_FLAGS
+		from ranger.runner import ALLOWED_FLAGS
 		return all(x in ALLOWED_FLAGS for x in arg)
 
 	def _is_mode(self, arg):