not include py script from the unrelated host

This commit is contained in:
Kayla Man 2023-02-13 17:44:17 +08:00
parent 61024a476a
commit b284ad43c0

View file

@ -184,7 +184,7 @@ class CollectMayaRender(pyblish.api.ContextPlugin):
self.log.info("multipart: {}".format(
multipart))
assert exp_files, "no file names were generated, this is bug"
self.log.info(exp_files)
# if we want to attach render to subset, check if we have AOV's
# in expectedFiles. If so, raise error as we cannot attach AOV
# (considered to be subset on its own) to another subset
@ -319,6 +319,7 @@ class CollectMayaRender(pyblish.api.ContextPlugin):
"renderSetupIncludeLights"
)
}
# Collect Deadline url if Deadline module is enabled
deadline_settings = (
context.data["system_settings"]["modules"]["deadline"]