Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

PS - remove obsolete functions from pywin32 #1006

Merged
merged 2 commits into from
Feb 12, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions pype/plugins/photoshop/publish/collect_instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 0 additions & 4 deletions pype/plugins/photoshop/publish/collect_review.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ class CollectReview(pyblish.api.ContextPlugin):
hosts = ["photoshop"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to remove the import too ;)


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()
Expand Down