diff --git a/igniter/tools.py b/igniter/tools.py index d5c3c72f0e..6cbda996fc 100644 --- a/igniter/tools.py +++ b/igniter/tools.py @@ -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() diff --git a/pype/lib/avalon_context.py b/pype/lib/avalon_context.py index 1d3461b6b5..9a9698cac1 100644 --- a/pype/lib/avalon_context.py +++ b/pype/lib/avalon_context.py @@ -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