mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
fix collect audio
This commit is contained in:
parent
d919e1bb4d
commit
21d09e4f5a
1 changed files with 5 additions and 1 deletions
|
|
@ -112,9 +112,13 @@ class CollectAudio(pyblish.api.ContextPlugin):
|
|||
Returns:
|
||||
collections.defaultdict[str, List[Dict[Str, Any]]]: Representations
|
||||
related to audio products by folder path.
|
||||
"""
|
||||
|
||||
"""
|
||||
output = collections.defaultdict(list)
|
||||
# Skip the queries if audio product name is not defined
|
||||
if not self.audio_product_name:
|
||||
return output
|
||||
|
||||
# Query folder entities
|
||||
folder_entities = ayon_api.get_folders(
|
||||
project_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue