]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
py-cvs merge, idle_dir loading changed
authorSteven M. Gava <elguavas@python.net>
Thu, 12 Jul 2001 04:51:11 +0000 (04:51 +0000)
committerSteven M. Gava <elguavas@python.net>
Thu, 12 Jul 2001 04:51:11 +0000 (04:51 +0000)
Lib/idlelib/idle.py

index 71fdce56bb1e360afc06ea03ec943a5563e0f305..f42327c9b39966b8eba3f6af225b7d73ec1d6855 100644 (file)
@@ -4,7 +4,7 @@ import os
 import sys
 import IdleConf
 
-idle_dir = os.path.split(sys.argv[0])[0]
+idle_dir = os.path.dirname(IdleConf.__file__)
 IdleConf.load(idle_dir)
 
 # defer importing Pyshell until IdleConf is loaded