From 5cf4626b4d85b85d0c49ab60d4dc05ea52895fe7 Mon Sep 17 00:00:00 2001 From: Syres916 <46537884+Syres916@users.noreply.github.com> Date: Mon, 25 Sep 2023 13:25:05 +0100 Subject: [PATCH] [Path] Sanity fix based on user feedback and further testing... ...of stacked substitutions and static folder paths. --- src/Mod/Path/Path/Main/Gui/Sanity.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Mod/Path/Path/Main/Gui/Sanity.py b/src/Mod/Path/Path/Main/Gui/Sanity.py index f03fd3dd69..74e8ef7585 100644 --- a/src/Mod/Path/Path/Main/Gui/Sanity.py +++ b/src/Mod/Path/Path/Main/Gui/Sanity.py @@ -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"