Use collected host name

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Petr Kalis 2024-04-16 11:32:41 +02:00 committed by GitHub
parent 497ce6d012
commit f43fbc239c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,7 @@ class CollectDeadlineServerFromInstance(pyblish.api.InstancePlugin):
instance.data["deadline"] = {}
# todo: separate logic should be removed, all hosts should have same
host_name = get_current_host_name()
host_name = instance.context.data["hostName"]
if host_name == "maya":
deadline_url = self._collect_deadline_url(instance)
else: