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:
'#n130'>130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209