Commit 090e636a authored by Kurt B. Kaiser's avatar Kurt B. Kaiser

EditorWindow.py was not finding the .chm help file on Windows. Typo

at Rev 1.54.  Python Bug 990954
parent bf76075a
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment