]> granicus.if.org Git - python/commitdiff
EditorWindow.py was not finding the .chm help file on Windows. Typo
authorKurt B. Kaiser <kbk@shore.net>
Wed, 21 Jul 2004 03:33:58 +0000 (03:33 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Wed, 21 Jul 2004 03:33:58 +0000 (03:33 +0000)
at Rev 1.54.  Python Bug 990954

Lib/idlelib/EditorWindow.py

index 41d26e56d192661d09f49f00147d2226099a0dbc..e4274792c2f80884e03edd5e757f6c7da89305a9 100644 (file)
@@ -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)