summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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():