mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
OP-4642 - refactored query of representations
line 73 returns if no representations.
This commit is contained in:
parent
0834b7564b
commit
263d3dccc2
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ class ExtractOIIOTranscode(publish.Extractor):
|
|||
return
|
||||
|
||||
new_representations = []
|
||||
repres = instance.data.get("representations") or []
|
||||
repres = instance.data["representations"]
|
||||
for idx, repre in enumerate(list(repres)):
|
||||
self.log.debug("repre ({}): `{}`".format(idx + 1, repre["name"]))
|
||||
if not self._repre_is_valid(repre):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue