mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
added skip logs to extract review
This commit is contained in:
parent
b7c734dae3
commit
88407488cd
1 changed files with 14 additions and 1 deletions
|
|
@ -122,11 +122,24 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
|
||||
# Loop through representations
|
||||
for repre in tuple(instance.data["representations"]):
|
||||
repre_name = str(repre.get("name"))
|
||||
tags = repre.get("tags") or []
|
||||
if "review" not in tags or "thumbnail" in tags:
|
||||
if "review" not in tags:
|
||||
self.log.debug((
|
||||
"Repre: {} - Didn't found \"review\" in tags. Skipping"
|
||||
).format(repre_name))
|
||||
continue
|
||||
|
||||
if "thumbnail" in tags:
|
||||
self.log.debug((
|
||||
"Repre: {} - Found \"thumbnail\" in tags. Skipping"
|
||||
).format(repre_name))
|
||||
continue
|
||||
|
||||
if "passing" in tags:
|
||||
self.log.debug((
|
||||
"Repre: {} - Found \"passing\" in tags. Skipping"
|
||||
).format(repre_name))
|
||||
continue
|
||||
|
||||
input_ext = repre["ext"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue