diff --git a/src/Mod/Path/PathScripts/PathSanity.py b/src/Mod/Path/PathScripts/PathSanity.py index 0d1517e4f7..e8b1110baa 100644 --- a/src/Mod/Path/PathScripts/PathSanity.py +++ b/src/Mod/Path/PathScripts/PathSanity.py @@ -404,8 +404,8 @@ class CommandPathSanity: # Save the report - reportraw = self.outputpath + 'setupreport.asciidoc' - reporthtml = self.outputpath + 'setupreport.html' + reportraw = self.outputpath + job.PostProcessorOutputFile + '.asciidoc' + reporthtml = self.outputpath + job.PostProcessorOutputFile + '.html' with open(reportraw, 'w') as fd: fd.write(report) fd.close()