mirror of https://github.com/python/cpython
EditorWindow.py was not finding the .chm help file on Windows. Typo
at Rev 1.54. Python Bug 990954
This commit is contained in:
parent
bf76075a4b
commit
090e636add
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue