fix environments getter

This commit is contained in:
iLLiCiTiT 2020-12-04 14:01:54 +01:00
parent 1fee2d524c
commit 875b4b2c1b
2 changed files with 1 additions and 2 deletions

View file

@ -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()

View file

@ -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