Update openpype/hosts/traypublisher/plugins/publish/collect_mov_batch.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Petr Kalis 2022-07-19 10:47:10 +02:00 committed by GitHub
parent ddf07d7908
commit 508b3e7d8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,12 +32,11 @@ class CollectMovBatch(
"name": ext[1:], "name": ext[1:],
"ext": ext[1:], "ext": ext[1:],
"files": file_name, "files": file_name,
"stagingDir": os.path.dirname(file_url) "stagingDir": os.path.dirname(file_url),
"tags": []
} }
if creator_attributes["add_review_family"]: if creator_attributes["add_review_family"]:
if not repre.get("tags"):
repre["tags"] = []
repre["tags"].append("review") repre["tags"].append("review")
instance.data["families"].append("review") instance.data["families"].append("review")