Skip to content

Commit

Permalink
Merge pull request #91 from openghg/BUGFIX-git-error
Browse files Browse the repository at this point in the history
Updated version checker for git not found error
  • Loading branch information
brendan-m-murphy authored Mar 4, 2024
2 parents 2e7e173 + ca988aa commit 245f30d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openghg_inversions/config/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def code_version():
check=True,
text=True,
)
except subprocess.CalledProcessError:
except (subprocess.CalledProcessError, FileNotFoundError):
print(
"WARNING: Unable to identify version using git."
" Check that git is available to the python process."
Expand Down

0 comments on commit 245f30d

Please sign in to comment.