mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
resolve hound
This commit is contained in:
parent
59a20fe0fb
commit
fdea715fe0
2 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue