summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSteven M. Gava <elguavas@python.net>2001-07-12 04:51:11 (GMT)
committerSteven M. Gava <elguavas@python.net>2001-07-12 04:51:11 (GMT)
commit9fe8828cbf02f3ae6cab8173c3a84ee7d441a4fe (patch)
treedbce98497bcf4cc5be4d1fb7ac3fd36e8694d8c1 /Lib
parentba910c1e921a1ad3f61b43df3f9edaab4ae1bf2e (diff)
downloadcpython-9fe8828cbf02f3ae6cab8173c3a84ee7d441a4fe.zip
cpython-9fe8828cbf02f3ae6cab8173c3a84ee7d441a4fe.tar.gz
cpython-9fe8828cbf02f3ae6cab8173c3a84ee7d441a4fe.tar.bz2
py-cvs merge, idle_dir loading changed
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/idle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/idle.py b/Lib/idlelib/idle.py
index 71fdce5..f42327c 100644
--- a/Lib/idlelib/idle.py
+++ b/Lib/idlelib/idle.py
@@ -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