resolve hound

This commit is contained in:
Mustafa-Zarkash 2023-09-25 22:23:41 +03:00
parent 59a20fe0fb
commit fdea715fe0
2 changed files with 4 additions and 3 deletions

View file

@ -762,11 +762,12 @@ def validate_job_path():
if project_settings["houdini"]["general"]["job_path"]["enabled"]:
# get and resolve job path template
job_path_template = project_settings["houdini"]["general"]["job_path"]["path"]
job_path_template = \
project_settings["houdini"]["general"]["job_path"]["path"]
job_path = StringTemplate.format_template(
job_path_template, get_current_context_template_data()
)
job_path = job_path.replace("\\","/")
job_path = job_path.replace("\\", "/")
if job_path == "":
# Set JOB path to HIP path if JOB path is enabled

View file

@ -17,6 +17,6 @@ class GeneralSettingsModel(BaseSettingsModel):
DEFAULT_GENERAL_SETTINGS = {
"JobPath": {
"enabled": True,
"path": "{root[work]}/{project[name]}/{hierarchy}/{asset}/work/{task[name]}"
"path": "{root[work]}/{project[name]}/{hierarchy}/{asset}/work/{task[name]}" # noqa
}
}