Update client/ayon_core/pipeline/create/creator_plugins.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Jakub Ježek 2024-10-24 13:52:43 +02:00 committed by GitHub
parent 2b765954a3
commit 396af0cf86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -800,7 +800,7 @@ class Creator(BaseCreator):
product_name = instance.get("productName")
product_type = instance.get("productType")
folder_path = instance.get("folderPath")
if not any([product_name, folder_path]):
if not product_name or not folder_path:
return None
version = instance.get("version")