Merge pull request #4939 from Russ4262/fix/job_template_paths
[Path] Fix multi-OS path issue for Job templates
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user