From 78253670fdff9204bc65a12f415924b427e6b17f Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Thu, 3 Nov 2022 17:06:44 +0100 Subject: [PATCH] OP-3908 - fix calling of list_instances --- openpype/hosts/photoshop/api/pipeline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openpype/hosts/photoshop/api/pipeline.py b/openpype/hosts/photoshop/api/pipeline.py index 8a6626a84e..73e2d4458e 100644 --- a/openpype/hosts/photoshop/api/pipeline.py +++ b/openpype/hosts/photoshop/api/pipeline.py @@ -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]