[Path] Sanity fix based on user feedback and further testing...
...of stacked substitutions and static folder paths.
This commit is contained in:
@@ -1203,10 +1203,7 @@ class CommandPathSanity:
|
||||
filepath = self.resolveOutputFile(obj)
|
||||
Path.Log.debug("filepath: {}".format(filepath))
|
||||
base_name = os.path.splitext(filepath)[0]
|
||||
if "%D" in subsLookup or "%M" in subsLookup:
|
||||
reporthtml = base_name + ".html"
|
||||
else:
|
||||
reporthtml = self.outputpath + base_name + ".html"
|
||||
reporthtml = base_name + ".html"
|
||||
else:
|
||||
reporthtml = self.outputpath + data["outputData"]["outputfilename"] + ".html"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user