use AVALON_TASK to get current task name

This commit is contained in:
Jakub Trllo 2023-02-02 12:41:33 +01:00
parent e42ee50ff4
commit e1f11abdf4

View file

@ -123,7 +123,7 @@ class HostBase(object):
Union[str, None]: Current task name.
"""
return os.environ.get("AVALON_ASSET")
return os.environ.get("AVALON_TASK")
def get_current_context(self):
"""Get current context information.