Merge pull request #2821 from pypeclub/bugfix/OP-2612_Nuke-build-workfile-is-broken

This commit is contained in:
Milan Kolar 2022-03-03 11:30:49 +01:00 committed by GitHub
commit 6a261bf9ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -952,7 +952,7 @@ class BuildWorkfile:
Returns:
(dict): preset per entered task name
"""
host_name = avalon.api.registered_host().__name__.rsplit(".", 1)[-1]
host_name = os.environ["AVALON_APP"]
project_settings = get_project_settings(
avalon.io.Session["AVALON_PROJECT"]
)