From cb02d817c810d32b25711a44cc66850da7bfd685 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 19 Mar 2012 22:46:26 +0100 Subject: core.main: improved rifle compatibility --- ranger/core/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/core/main.py b/ranger/core/main.py index bf6c7426..229146ab 100644 --- a/ranger/core/main.py +++ b/ranger/core/main.py @@ -81,7 +81,7 @@ def main(): rifleconf = fm.relpath('defaults/rifle.conf') rifle = Rifle(rifleconf) rifle.reload_config() - rifle.execute(targets) + rifle.execute(targets, way=ranger.arg.mode, flags=ranger.arg.flags) return 1 if arg.fail_unless_cd else 0 crash_traceback = None -- cgit 1.4.1-2-gfad0