From: Kurt B. Kaiser Date: Wed, 21 Jul 2004 03:33:58 +0000 (+0000) Subject: EditorWindow.py was not finding the .chm help file on Windows. Typo X-Git-Tag: v2.4a2~170 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=090e636add33907d196b9899eb0f019654a055e8;p=python EditorWindow.py was not finding the .chm help file on Windows. Typo at Rev 1.54. Python Bug 990954 --- diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py index 41d26e56d1..e4274792c2 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)