eric6/DocumentationTools/QtHelpGenerator.py

changeset 7852
24d47bf35c2b
parent 7785
9978016560ec
child 7923
91e843545d9a
--- a/eric6/DocumentationTools/QtHelpGenerator.py	Fri Dec 04 18:29:31 2020 +0100
+++ b/eric6/DocumentationTools/QtHelpGenerator.py	Sat Dec 05 17:14:26 2020 +0100
@@ -14,7 +14,7 @@
 import subprocess           # secok
 
 from Utilities import (
-    joinext, relpath, html_encode, getQtBinariesPath, generateQtToolName
+    joinext, html_encode, getQtBinariesPath, generateQtToolName
 )
 
 HelpCollection = r"""<?xml version="1.0" encoding="utf-8" ?>
@@ -85,7 +85,7 @@
         self.filterAttributes = (
             filterAttributes and filterAttributes.split(':') or []
         )
-        self.relPath = relpath(self.htmlDir, self.outputDir)
+        self.relPath = os.path.relpath(self.htmlDir, self.outputDir)
         self.title = title
         self.createCollection = createCollection
         

eric ide

mercurial