OP-4371 - fix - wrong call of list_instances

This commit is contained in:
Petr Kalis 2022-11-04 11:18:50 +01:00
parent 5a8876e364
commit b396a8d76b

View file

@ -294,5 +294,6 @@ def cache_and_get_instances(creator):
"""
shared_key = "openpype.photoshop.instances"
if shared_key not in creator.collection_shared_data:
creator.collection_shared_data[shared_key] = creator.list_instances()
creator.collection_shared_data[shared_key] = \
creator.host.list_instances()
return creator.collection_shared_data[shared_key]