Merge pull request #4939 from Russ4262/fix/job_template_paths

[Path] Fix multi-OS path issue for Job templates
This commit is contained in:
sliptonic
2021-07-25 13:42:13 -05:00
committed by GitHub

View File

@@ -213,7 +213,8 @@ class JobCreate:
def setupTemplate(self):
templateFiles = []
for path in PathPreferences.searchPaths():
templateFiles.extend(self.templateFilesIn(path))
cleanPaths = [f.replace("\\", "/") for f in self.templateFilesIn(path)] # Standardize slashes used accross os platforms
templateFiles.extend(cleanPaths)
template = {}
for tFile in templateFiles: