mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Improve logic for checking already existing audio key
This commit is contained in:
parent
34b292b06a
commit
182e457505
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ class CollectAudio(pyblish.api.ContextPlugin):
|
||||||
context, self.__class__
|
context, self.__class__
|
||||||
):
|
):
|
||||||
# Skip instances that already have audio filled
|
# Skip instances that already have audio filled
|
||||||
if instance.data.get("audio"):
|
if "audio" in instance.data:
|
||||||
self.log.debug(
|
self.log.debug(
|
||||||
"Skipping Audio collection. It is already collected"
|
"Skipping Audio collection. It is already collected"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue