From 090e636add33907d196b9899eb0f019654a055e8 Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Wed, 21 Jul 2004 03:33:58 +0000 Subject: EditorWindow.py was not finding the .chm help file on Windows. Typo at Rev 1.54. Python Bug 990954 --- Lib/idlelib/EditorWindow.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py index 41d26e5..e427479 100644 --- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -61,7 +61,8 @@ class EditorWindow: dochome = os.path.join(basepath, pyver, 'Doc', 'index.html') elif sys.platform[:3] == 'win': - chmfile = os.path.join(sys.prefix, "Python%d%d.chm" % sys.version_info[:2]) + chmfile = os.path.join(sys.prefix, 'Doc', + 'Python%d%d.chm' % sys.version_info[:2]) if os.path.isfile(chmfile): dochome = chmfile dochome = os.path.normpath(dochome) -- cgit v0.12