Update openpype/hosts/maya/plugins/publish/validate_scene_set_workspace.py

This commit is contained in:
Toke Jepsen 2024-01-25 12:34:53 +00:00 committed by GitHub
parent b783fae8e0
commit a0faa3f130
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,6 +45,7 @@ class ValidateSceneSetWorkspace(pyblish.api.ContextPlugin):
if not is_subdir(scene_name, root_dir):
raise PublishValidationError(
"Maya workspace is not set correctly.\n\n"
f"Current workfile `{scene_name}` is not inside the current Maya project root directory `{root_dir}`.\n\n"
f"Current workfile `{scene_name}` is not inside the "
"current Maya project root directory `{root_dir}`.\n\n"
"Please use Workfile app to re-save."
)