mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix(global): failing due missing tag in representation
This commit is contained in:
parent
682bb996ab
commit
833ba22ecf
1 changed files with 2 additions and 1 deletions
|
|
@ -27,8 +27,9 @@ class ExtractJpegEXR(pyblish.api.InstancePlugin):
|
|||
representations_new = representations[:]
|
||||
|
||||
for repre in representations:
|
||||
tags = repre.get("tags", [])
|
||||
self.log.debug(repre)
|
||||
valid = 'review' in repre['tags'] or "thumb-nuke" in repre['tags']
|
||||
valid = 'review' in tags or "thumb-nuke" in tags
|
||||
if not valid:
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue