mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Lib: fixing Builder exception
This commit is contained in:
parent
a3eae1cd15
commit
02eaeb552e
1 changed files with 5 additions and 12 deletions
|
|
@ -759,18 +759,11 @@ class BuildWorkfile:
|
|||
# for backward compatibility this has to have exception
|
||||
# if the concept will be agreed then this needs to be
|
||||
# refactored without exception
|
||||
if "nuke" in host_name:
|
||||
build_presets = (
|
||||
presets.get(host_name, {})
|
||||
.get("workfile_options")
|
||||
.get("builder_profiles")
|
||||
)
|
||||
else:
|
||||
build_presets = (
|
||||
presets.get(host_name, {})
|
||||
.get("workfile_build")
|
||||
.get("profiles")
|
||||
)
|
||||
build_presets = (
|
||||
presets.get(host_name, {})
|
||||
.get("workfile_build" or "workfile_builder")
|
||||
.get("profiles")
|
||||
)
|
||||
|
||||
if not build_presets:
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue