From cedb55349e75e36696ca275ee98d0a902d3286e7 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 24 Jan 2010 19:51:30 +0100 Subject: bugfix --- ranger/actions.py | 2 +- ranger/gui/widgets/console.py | 2 +- 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): -- cgit 1.4.1-2-gfad0