Fixed so correct review file gets uploaded to Kitsu

This commit is contained in:
Jacob Danell 2023-02-02 19:31:06 +01:00 committed by Milan Kolar
parent 785825751a
commit 27c8a1f360
2 changed files with 4 additions and 1 deletions

View file

@ -27,7 +27,7 @@ class IntegrateKitsuReview(pyblish.api.InstancePlugin):
# Add review representations as preview of comment
for representation in instance.data.get("representations", []):
# Skip if not tagged as review
if "review" not in representation.get("tags", []):
if "kitsureview" not in representation.get("tags", []):
continue
review_path = representation.get("published_path")

View file

@ -16,6 +16,9 @@
{
"shotgridreview": "Add review to Shotgrid"
},
{
"kitsureview": "Add review to Kitsu"
},
{
"delete": "Delete output"
},