mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
fix environments getter
This commit is contained in:
parent
1fee2d524c
commit
875b4b2c1b
2 changed files with 1 additions and 2 deletions
|
|
@ -101,7 +101,7 @@ def load_environments(sections: list = None) -> dict:
|
|||
import acre
|
||||
from pype import settings
|
||||
|
||||
all_env = settings.environments()
|
||||
all_env = settings.get_environments()
|
||||
merged_env = {}
|
||||
|
||||
sections = sections or all_env.keys()
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ def with_avalon(func):
|
|||
def wrap_avalon(*args, **kwargs):
|
||||
from avalon import api, io, pipeline # noqa: F401
|
||||
return func(*args, **kwargs)
|
||||
pass
|
||||
|
||||
|
||||
@with_avalon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue