mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
use context[host] in extract review and burnin
This commit is contained in:
parent
64a186b437
commit
46fd7ee628
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue