eric6/DocumentationTools/QtHelpGenerator.py

branch
maintenance
changeset 7991
866adc8c315b
parent 7924
8a96736d465e
child 8043
0acf98cd089a
diff -r e3d251e74f2d -r 866adc8c315b eric6/DocumentationTools/QtHelpGenerator.py
--- a/eric6/DocumentationTools/QtHelpGenerator.py	Mon Jan 11 19:31:21 2021 +0100
+++ b/eric6/DocumentationTools/QtHelpGenerator.py	Sun Jan 17 13:53:08 2021 +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