mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Update openpype/plugins/publish/validate_publish_dir.py
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
This commit is contained in:
parent
51c7925f1b
commit
a3969f8d1a
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ class ValidatePublishDir(pyblish.api.InstancePlugin):
|
|||
success, _ = anatomy.find_root_template_from_path(original_dirname)
|
||||
self.log.info(_)
|
||||
if not success:
|
||||
raise KnownPublishError(
|
||||
raise PublishValidationError(
|
||||
"Path '{}' not in project folder.".format(original_dirname) +
|
||||
" Please publish from inside of project folder."
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue