mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Add comment
This commit is contained in:
parent
2d340739e1
commit
afabfeb25e
1 changed files with 3 additions and 0 deletions
|
|
@ -93,6 +93,9 @@ def get_representation_path_in_publish_context(
|
|||
Union[str, None]: Returns the path if it could be resolved
|
||||
|
||||
"""
|
||||
# The AYON publishing logic is set up in such a way that you can not
|
||||
# publish to another project. As such, we know if the project name we're
|
||||
# looking for doesn't match the publishing context it'll not be in there.
|
||||
if context.data["projectName"] != project_name:
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue