about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-31 19:51:20 +0100
committerhut <hut@lavabit.com>2009-12-31 19:51:20 +0100
commitd4e2dfe9d3996d817f79ae9a9596d754d8885676 (patch)
treecb4678e9314a94d6b8e301375411a34a4bc0b2e0
parentba3f04ea79045c5de03094086b858a9a527488ce (diff)
downloadranger-d4e2dfe9d3996d817f79ae9a9596d754d8885676.tar.gz
fixed ranger.__main__
-rw-r--r--ranger/__main__.py3
1 files changed, 2 insertions, 1 deletions
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: