From d4e2dfe9d3996d817f79ae9a9596d754d8885676 Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 31 Dec 2009 19:51:20 +0100 Subject: fixed ranger.__main__ --- ranger/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ranger/__main__.py b/ranger/__main__.py index c821a23c..79e280f5 100644 --- a/ranger/__main__.py +++ b/ranger/__main__.py @@ -40,6 +40,8 @@ def main(): if args.cd_after_exit: sys.stderr = sys.__stdout__ + SettingsAware._setup() + # Initialize objects target = ' '.join(rest) if target: @@ -55,7 +57,6 @@ def main(): else: path = '.' - SettingsAware._setup() Environment(path) try: -- cgit 1.4.1-2-gfad0