From 4c7fd0db3aa011a09e3be5f2811a8b4375cacd2d Mon Sep 17 00:00:00 2001 From: loonghao Date: Fri, 17 May 2024 00:35:16 +0800 Subject: [PATCH] test: Fix test Signed-off-by: loonghao --- maya_umbrella/collector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maya_umbrella/collector.py b/maya_umbrella/collector.py index eac6cba..1188ec2 100644 --- a/maya_umbrella/collector.py +++ b/maya_umbrella/collector.py @@ -74,7 +74,7 @@ def user_app_dir(self): @property def maya_install_root(self): """Return the Maya installation root directory.""" - return os.environ["MAYA_LOCATION"] + return os.environ.get("MAYA_LOCATION", "") @property def user_script_path(self):