use context[host] in extract review and burnin

This commit is contained in:
iLLiCiTiT 2021-08-19 17:00:34 +02:00
parent 64a186b437
commit 46fd7ee628
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@ class ExtractBurnin(openpype.api.Extractor):
def main_process(self, instance):
# TODO get these data from context
host_name = os.environ["AVALON_APP"]
host_name = instance.context["host"]
task_name = os.environ["AVALON_TASK"]
family = self.main_family_from_instance(instance)

View file

@ -89,7 +89,7 @@ class ExtractReview(pyblish.api.InstancePlugin):
instance.data["representations"].remove(repre)
def main_process(self, instance):
host_name = os.environ["AVALON_APP"]
host_name = instance.context["host"]
task_name = os.environ["AVALON_TASK"]
family = self.main_family_from_instance(instance)