mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
BigRoy's comment
This commit is contained in:
parent
67964bec3a
commit
61ce75f0c9
2 changed files with 8 additions and 4 deletions
|
|
@ -756,7 +756,10 @@ def get_camera_from_container(container):
|
|||
|
||||
|
||||
def update_job_var_context():
|
||||
"""Validate job path to ensure it matches the settings."""
|
||||
"""Update $JOB to match current context.
|
||||
|
||||
This will only do something if the setting is enabled in project settings.
|
||||
"""
|
||||
|
||||
project_settings = get_current_project_settings()
|
||||
job_var_settings = \
|
||||
|
|
@ -796,5 +799,4 @@ def update_job_var_context():
|
|||
"insufficient permissions."
|
||||
)
|
||||
|
||||
print(" - Context changed, update $JOB respectively to "
|
||||
+ job_path)
|
||||
print(" - Updated $JOB to {}".format(job_path))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue