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 all commits
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
6 changes: 0 additions & 6 deletions pype/plugins/photoshop/publish/collect_instances.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import pythoncom

import pyblish.api

from avalon import photoshop
Expand All @@ -23,10 +21,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
6 changes: 0 additions & 6 deletions pype/plugins/photoshop/publish/collect_review.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import os

import pythoncom

import pyblish.api


Expand All @@ -13,10 +11,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