BigRoy's comment

This commit is contained in:
Mustafa-Zarkash 2023-09-27 19:12:56 +03:00
parent 67964bec3a
commit 61ce75f0c9
2 changed files with 8 additions and 4 deletions

View file

@ -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))