summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-17 20:21:17 +0200
committerhut <hut@lavabit.com>2010-04-17 20:21:17 +0200
commit2432c8622c1ff66f62753d1cd9d95508efb276a0 (patch)
treeda853f7dba4f79290362590eafd259672d198ac7
parent91ed2301e97401c8097f6ffc2d2eeb41f0bf713b (diff)
downloadranger-2432c8622c1ff66f62753d1cd9d95508efb276a0.tar.gz
ranger.main: prioritize confdir in imports
-rw-r--r--ranger/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/__main__.py b/ranger/__main__.py
index 827452ff..6b5a21b3 100644
--- a/ranger/__main__.py
+++ b/ranger/__main__.py
@@ -56,7 +56,7 @@ def parse_arguments():
 				print("To run ranger without the need for configuration files")
 				print("use the --clean option.")
 				raise SystemExit()
-		sys.path.append(arg.confdir)
+		sys.path[0:0] = [arg.confdir]
 	return arg
 
 def main():