From 773be3b87674a081f0761ce5d4521b4da29c7a4c Mon Sep 17 00:00:00 2001 From: Brandon Forys Date: Wed, 22 Dec 2021 14:00:01 -0800 Subject: [PATCH] 1.0.5.3: Fixed environment variable path --- mesonet/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonet/utils.py b/mesonet/utils.py index cb57560..24e5030 100755 --- a/mesonet/utils.py +++ b/mesonet/utils.py @@ -243,7 +243,7 @@ def find_git_repo(): # Preferred (faster) option to find mesonet git repo is to set it as an environment variable git_repo_base = "" try: - git_repo_base = os.getenv("MESONET_GIT") + git_repo_base = os.path.join(os.getenv("MESONET_GIT"), 'mesonet') print('MesoNet git repo found at {}, skipping directory check...'.format(git_repo_base)) except: # If we can't find the environment variable, search for the mesonet git repository