QtHelpGenerator: fixed an issue introduced by the recent change to remove redundant code.

Sat, 05 Dec 2020 17:14:26 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 05 Dec 2020 17:14:26 +0100
changeset 7852
24d47bf35c2b
parent 7849
70e464748aaa
child 7853
35dcac32984a
child 7854
dc28e707a0d9

QtHelpGenerator: fixed an issue introduced by the recent change to remove redundant code.

eric6/DocumentationTools/QtHelpGenerator.py file | annotate | diff | comparison | revisions
--- 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