diff options
author | hut <hut@lavabit.com> | 2012-02-12 17:18:00 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-02-12 17:18:00 +0100 |
commit | ac6df7b5e5b60b789d9262a92942a72c6192a265 (patch) | |
tree | a21487aba8b301b4a30c702a4a8b12f0ce558f9e /ranger | |
parent | e748d5056c907c5f9e46f6824442d47231a1ad32 (diff) | |
download | ranger-ac6df7b5e5b60b789d9262a92942a72c6192a265.tar.gz |
core.main: fixed crash when using ranger as file opener
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/main.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/core/main.py b/ranger/core/main.py index a17c6863..4bb4c48a 100644 --- a/ranger/core/main.py +++ b/ranger/core/main.py @@ -80,7 +80,8 @@ def main(): print(string) from ranger.core.runner import Runner from ranger.fsobject import File - runner = Runner(logfunc=print_function) + fm = FM() + runner = Runner(logfunc=print_function, fm=fm) load_apps(runner, arg.clean) runner(files=[File(target)], mode=arg.mode, flags=arg.flags) return 1 if arg.fail_unless_cd else 0 |