From 0169501b88a230e8d6870d26ff8d3aab54b38f53 Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Thu, 11 Feb 2021 18:40:43 +0100 Subject: [PATCH] PS fix - removed unwanted functions from pywin32 --- pype/plugins/photoshop/publish/collect_instances.py | 4 ---- pype/plugins/photoshop/publish/collect_review.py | 4 ---- 2 files changed, 8 deletions(-) diff --git a/pype/plugins/photoshop/publish/collect_instances.py b/pype/plugins/photoshop/publish/collect_instances.py index 81d1c80bf6..08a24a834d 100644 --- a/pype/plugins/photoshop/publish/collect_instances.py +++ b/pype/plugins/photoshop/publish/collect_instances.py @@ -23,10 +23,6 @@ class CollectInstances(pyblish.api.ContextPlugin): } def process(self, context): - # Necessary call when running in a different thread which pyblish-qml - # can be. - pythoncom.CoInitialize() - stub = photoshop.stub() layers = stub.get_layers() layers_meta = stub.get_layers_metadata() diff --git a/pype/plugins/photoshop/publish/collect_review.py b/pype/plugins/photoshop/publish/collect_review.py index 30042d188b..04cb77e1ba 100644 --- a/pype/plugins/photoshop/publish/collect_review.py +++ b/pype/plugins/photoshop/publish/collect_review.py @@ -13,10 +13,6 @@ class CollectReview(pyblish.api.ContextPlugin): hosts = ["photoshop"] def process(self, context): - # Necessary call when running in a different thread which pyblish-qml - # can be. - pythoncom.CoInitialize() - family = "review" task = os.getenv("AVALON_TASK", None) subset = family + task.capitalize()