mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
don't use host name from pyblish's registered_host but from AVALON_APP environemnt
This commit is contained in:
parent
6e27c92800
commit
70b1cd004a
2 changed files with 2 additions and 2 deletions
|
|
@ -73,7 +73,7 @@ class ExtractBurnin(pype.api.Extractor):
|
|||
|
||||
def main_process(self, instance):
|
||||
# TODO get these data from context
|
||||
host_name = pyblish.api.registered_hosts()[-1]
|
||||
host_name = os.environ["AVALON_APP"]
|
||||
task_name = os.environ["AVALON_TASK"]
|
||||
family = self.main_family_from_instance(instance)
|
||||
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
instance.data["representations"].remove(repre)
|
||||
|
||||
def main_process(self, instance):
|
||||
host_name = pyblish.api.registered_hosts()[-1]
|
||||
host_name = os.environ["AVALON_APP"]
|
||||
task_name = os.environ["AVALON_TASK"]
|
||||
family = self.main_family_from_instance(instance)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue