OP-3908 - fix calling of list_instances

This commit is contained in:
Petr Kalis 2022-11-03 17:06:44 +01:00
parent cb5c8c2b13
commit 78253670fd

View file

@ -303,5 +303,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]